mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Fix keyseq tests
This commit is contained in:
parent
3d99cb6025
commit
8ada387819
3 changed files with 11 additions and 2 deletions
|
@ -2,12 +2,15 @@ const tsConfig = require('./tsconfig');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
preset: "ts-jest",
|
preset: "ts-jest",
|
||||||
|
setupFiles: [
|
||||||
|
"jest-webextension-mock"
|
||||||
|
],
|
||||||
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
||||||
globals: {
|
globals: {
|
||||||
"ts-jest": {
|
"ts-jest": {
|
||||||
tsConfig: {
|
tsConfig: {
|
||||||
...tsConfig.compilerOptions,
|
...tsConfig.compilerOptions,
|
||||||
types: ["jest", "node"]
|
types: ["jest", "node", "web-ext-types"]
|
||||||
},
|
},
|
||||||
diagnostics: {
|
diagnostics: {
|
||||||
ignoreCodes: [151001]
|
ignoreCodes: [151001]
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
"immer": "^6.0.3",
|
"immer": "^6.0.3",
|
||||||
"mark.js": "^8.11.1",
|
"mark.js": "^8.11.1",
|
||||||
"mithril": "^2.0.4",
|
"mithril": "^2.0.4",
|
||||||
"rss-parser": "^3.7.6",
|
|
||||||
"ramda": "^0.27.0",
|
"ramda": "^0.27.0",
|
||||||
|
"rss-parser": "^3.7.6",
|
||||||
"semver-compare": "^1.0.0",
|
"semver-compare": "^1.0.0",
|
||||||
"typedoc-default-themes": "^0.9.0",
|
"typedoc-default-themes": "^0.9.0",
|
||||||
"uuid": "^7.0.3"
|
"uuid": "^7.0.3"
|
||||||
|
@ -28,6 +28,7 @@
|
||||||
"copy-webpack-plugin": "^5.1.1",
|
"copy-webpack-plugin": "^5.1.1",
|
||||||
"geckodriver": "^1.19.1",
|
"geckodriver": "^1.19.1",
|
||||||
"jest": "^25.5.3",
|
"jest": "^25.5.3",
|
||||||
|
"jest-webextension-mock": "^3.5.4",
|
||||||
"marked": "^0.8.2",
|
"marked": "^0.8.2",
|
||||||
"nearley": "^2.19.2",
|
"nearley": "^2.19.2",
|
||||||
"prettier": "^1.19.1",
|
"prettier": "^1.19.1",
|
||||||
|
|
|
@ -4891,6 +4891,11 @@ jest-watcher@^25.5.0:
|
||||||
jest-util "^25.5.0"
|
jest-util "^25.5.0"
|
||||||
string-length "^3.1.0"
|
string-length "^3.1.0"
|
||||||
|
|
||||||
|
jest-webextension-mock@^3.5.4:
|
||||||
|
version "3.5.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/jest-webextension-mock/-/jest-webextension-mock-3.5.4.tgz#a9995a94cbc2a004def1d0de5a66e42c8fc9f5c4"
|
||||||
|
integrity sha512-lB7JFhpND5gcHdzoLj2q3P1Sep66QPUC7s+5Md7N+jYaadiHmIhqh6p7aS9CYjYgWiue0bi0kfnWU+3jrfb1tg==
|
||||||
|
|
||||||
jest-worker@^25.5.0:
|
jest-worker@^25.5.0:
|
||||||
version "25.5.0"
|
version "25.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-25.5.0.tgz#2611d071b79cea0f43ee57a3d118593ac1547db1"
|
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-25.5.0.tgz#2611d071b79cea0f43ee57a3d118593ac1547db1"
|
||||||
|
|
Loading…
Add table
Reference in a new issue