chore: use regenerator runtime in tests for async/await

This commit is contained in:
bcheidemann 2021-02-21 10:21:03 +00:00
parent a2f7ee044b
commit 7ec1fed51f
1 changed files with 4 additions and 1 deletions

View File

@ -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: {