We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08fd30f commit bf251d7Copy full SHA for bf251d7
tests/test.js
@@ -20,6 +20,14 @@
20
*
21
* Copyright (c) 2011-2017 Digital Bazaar, Inc. All rights reserved.
22
*/
23
+
24
+// support async/await tests in node6
25
+if(!require('semver').gte(process.version, '8.6.0')) {
26
+ require('babel-register')({
27
+ presets: ['node6-es6']
28
+ });
29
+}
30
31
const assert = require('chai').assert;
32
const common = require('./test-common');
33
const fs = require('fs-extra');
0 commit comments