Run Integration Tests in Browser (#1468)

* ci: Adds github actions testing for webpacked integration test
This commit is contained in:
Nathan Nichols
2021-08-02 14:29:35 -07:00
committed by GitHub
parent 25a2bcd3be
commit 76780c8a8e
9 changed files with 3518 additions and 3142 deletions

View File

@@ -51,9 +51,13 @@
"json-schema-to-markdown-table": "^0.4.0",
"mocha": "^9",
"nyc": "^15",
"path-browserify": "1.0.1",
"prettier": "^2.0.5",
"process": "^0.11.10",
"puppeteer": "5.4.1",
"stream-browserify": "^3.0.0",
"stream-http": "3.1.1",
"ts-loader": "^8.0.11",
"ts-node": "^10.1.0",
"typescript": "^3.9.9",
"url": "^0.11.0",
@@ -74,6 +78,7 @@
"prepublish": "yarn clean && yarn build",
"test": "TS_NODE_PROJECT=src/tsconfig.json nyc mocha --config=test/.mocharc.json --exit",
"test:integration": "TS_NODE_PROJECT=src/tsconfig.json nyc mocha ./test/integration/*.ts",
"test:browser": "TS_NODE_PROJECT=src/tsconfig.json nyc mocha ./test/browser/*.ts",
"test:watch": "TS_NODE_PROJECT=src/tsconfig.json mocha --config=test/.mocharc.json --watch --reporter dot",
"format": "prettier --write '{src,test}/**/*.ts'",
"lint": "eslint 'src/**/*.ts' 'test/*-test.{ts,js}'",