configure karma to use chromium
This commit is contained in:
Родитель
ce118609b2
Коммит
2657329f28
|
@ -1,11 +1,11 @@
|
|||
process.env.CHROME_BIN = require('playwright').chromium.executablePath()
|
||||
process.env.CHROME_BIN = require('chromium').path
|
||||
|
||||
module.exports = function (config) {
|
||||
config.set({
|
||||
frameworks: ['mocha', 'chai'],
|
||||
files: [
|
||||
{pattern: 'dist/index.js', type: 'module'},
|
||||
{pattern: 'test/test.js', type: 'module'}
|
||||
{ pattern: 'dist/index.js', type: 'module' },
|
||||
{ pattern: 'test/test.js', type: 'module' }
|
||||
],
|
||||
reporters: ['mocha'],
|
||||
port: 9876,
|
||||
|
|
Загрузка…
Ссылка в новой задаче