Add esmock for tests

GitOrigin-RevId: 42be4094f8551a1588de5048b4876557e16888f1
This commit is contained in:
andrew rumble 2024-10-02 09:03:07 +01:00 committed by Copybot
parent 731ba80b47
commit 50c74c3168
2 changed files with 18 additions and 0 deletions

17
package-lock.json generated
View file

@ -44076,6 +44076,7 @@
"eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2", "eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"esmock": "^2.6.7",
"events": "^3.3.0", "events": "^3.3.0",
"fake-indexeddb": "^6.0.0", "fake-indexeddb": "^6.0.0",
"fetch-mock": "^9.10.2", "fetch-mock": "^9.10.2",
@ -44811,6 +44812,15 @@
"stream-shift": "^1.0.0" "stream-shift": "^1.0.0"
} }
}, },
"services/web/node_modules/esmock": {
"version": "2.6.7",
"resolved": "https://registry.npmjs.org/esmock/-/esmock-2.6.7.tgz",
"integrity": "sha512-4DmjZ0qQIG+NQV1njHvWrua/cZEuJq56A3pSELT2BjNuol1aads7BluofCbLErdO41Ic1XCd2UMepVLpjL64YQ==",
"dev": true,
"engines": {
"node": ">=14.16.0"
}
},
"services/web/node_modules/events": { "services/web/node_modules/events": {
"version": "3.3.0", "version": "3.3.0",
"resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
@ -52616,6 +52626,7 @@
"eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2", "eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"esmock": "^2.6.7",
"events": "^3.3.0", "events": "^3.3.0",
"eventsource-parser": "^1.1.2", "eventsource-parser": "^1.1.2",
"express": "^4.21.0", "express": "^4.21.0",
@ -53254,6 +53265,12 @@
"stream-shift": "^1.0.0" "stream-shift": "^1.0.0"
} }
}, },
"esmock": {
"version": "2.6.7",
"resolved": "https://registry.npmjs.org/esmock/-/esmock-2.6.7.tgz",
"integrity": "sha512-4DmjZ0qQIG+NQV1njHvWrua/cZEuJq56A3pSELT2BjNuol1aads7BluofCbLErdO41Ic1XCd2UMepVLpjL64YQ==",
"dev": true
},
"events": { "events": {
"version": "3.3.0", "version": "3.3.0",
"resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",

View file

@ -299,6 +299,7 @@
"eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2", "eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"esmock": "^2.6.7",
"events": "^3.3.0", "events": "^3.3.0",
"fake-indexeddb": "^6.0.0", "fake-indexeddb": "^6.0.0",
"fetch-mock": "^9.10.2", "fetch-mock": "^9.10.2",