fix(web): kbd-proc Karma test fix

This commit is contained in:
Joshua A. Horton 2024-04-26 13:22:57 +07:00
parent 7a66eb29b4
commit 2bc2f77f11
2 changed files with 3 additions and 2 deletions

View file

@ -33,10 +33,11 @@ module.exports = {
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['mocha', 'chai'],
frameworks: ['mocha'],
// list of files / patterns to load in the browser
files: [
{ pattern: 'node_modules/chai/chai.js', watched: true, served: true, included: false, type: 'module'},
{pattern: 'common/web/keyboard-processor/tests/dom/cases/*.js', type: "module"},
{pattern: 'common/web/**/*.mjs', watched: true, served: true, included: false},

View file

@ -1,4 +1,4 @@
let assert = chai.assert;
import { assert } from '../../../../../../node_modules/chai/chai.js';
import { DOMKeyboardLoader } from '../../../build/lib/dom-keyboard-loader.mjs';
import { extendString, KeyboardHarness, KeyboardInterface, MinimalKeymanGlobal, Mock } from '../../../build/lib/index.mjs';