use browserify to fix test issue

This commit is contained in:
weboko 2023-02-01 00:19:17 +01:00
parent e2e4d00d0f
commit 0373572fcf
No known key found for this signature in database
3 changed files with 1404 additions and 40 deletions

View File

@ -10,9 +10,9 @@ const output = {
module.exports = function (config) {
config.set({
frameworks: ["webpack", "mocha"],
frameworks: ["webpack", "mocha", "browserify"],
preprocessors: {
"**/*.ts": ["webpack"],
"**/*.ts": ["webpack", "browserify"],
},
files: [

1438
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -61,6 +61,7 @@
"@typescript-eslint/parser": "^5.8.1",
"@waku/interfaces": "^0.0.7",
"app-root-path": "^3.0.0",
"browserify": "^17.0.0",
"chai": "^4.3.4",
"cspell": "^5.14.0",
"eslint": "^8.6.0",
@ -76,6 +77,7 @@
"jsdom": "^19.0.0",
"jsdom-global": "^3.0.2",
"karma": "^6.3.12",
"karma-browserify": "^8.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",