UNPKG

@stryker-mutator/karma-runner

Version:

A plugin to use the karma test runner in Stryker, the JavaScript mutation testing framework

11 lines (10 loc) 518 B
/** * Temp workaround until karma supports importing native es modules * @see https://github.com/karma-runner/karma/issues/3677#issuecomment-1009963597 * * Or until native support for node's module system is added to typescript (.cts files, so we can move this file back in the src directory) * @see https://www.typescriptlang.org/docs/handbook/esm-node.html */ module.exports = function (config) { return import('./dist/src/karma-plugins/stryker-karma.conf.js').then((mod) => mod.configureKarma(config)); };