From 7ec1fed51f9bc6f9f3e19e212d0ca50bcaf77008 Mon Sep 17 00:00:00 2001 From: bcheidemann Date: Sun, 21 Feb 2021 10:21:03 +0000 Subject: [PATCH] chore: use regenerator runtime in tests for async/await --- karma.conf.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/karma.conf.js b/karma.conf.js index 3944bc9..aa7d677 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -2,7 +2,10 @@ module.exports = function(config) { config.set({ singleRun: true, basePath: '', - files: ['tests/dist/index.js'], + files: [ + 'node_modules/regenerator-runtime/runtime.js', + 'tests/dist/index.js' + ], frameworks: ['mocha', 'chai'], reporters: ['mocha', 'summary'], client: {