mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 09:25:33 +00:00
fix(web): kbd-proc Karma test fix
This commit is contained in:
parent
7a66eb29b4
commit
2bc2f77f11
2 changed files with 3 additions and 2 deletions
|
|
@ -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},
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue