PnPify karma confs

This commit is contained in:
willclarktech
2021-05-19 15:13:42 +02:00
parent 34cc74a6a5
commit 9046c3765c
15 changed files with 105 additions and 0 deletions
+7
View File
@@ -1,7 +1,14 @@
const chrome = require('karma-chrome-launcher');
const firefox = require('karma-firefox-launcher');
const jasmine = require('karma-jasmine');
const kjhtml = require('karma-jasmine-html-reporter');
module.exports = function (config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: ".",
// registers plugins but does not activate them
plugins: [jasmine, kjhtml, chrome, firefox],
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter