chore: use regenerator runtime in tests for async/await
This commit is contained in:
parent
a2f7ee044b
commit
7ec1fed51f
|
@ -2,7 +2,10 @@ module.exports = function(config) {
|
||||||
config.set({
|
config.set({
|
||||||
singleRun: true,
|
singleRun: true,
|
||||||
basePath: '',
|
basePath: '',
|
||||||
files: ['tests/dist/index.js'],
|
files: [
|
||||||
|
'node_modules/regenerator-runtime/runtime.js',
|
||||||
|
'tests/dist/index.js'
|
||||||
|
],
|
||||||
frameworks: ['mocha', 'chai'],
|
frameworks: ['mocha', 'chai'],
|
||||||
reporters: ['mocha', 'summary'],
|
reporters: ['mocha', 'summary'],
|
||||||
client: {
|
client: {
|
||||||
|
|
Loading…
Reference in New Issue