mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
jest 27
This commit is contained in:
parent
feb877ab3b
commit
52f9c3e99e
11225
package-lock.json
generated
11225
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
|
@ -28,22 +28,22 @@
|
||||||
"@babel/preset-env": "^7.9.0",
|
"@babel/preset-env": "^7.9.0",
|
||||||
"@testing-library/dom": "^7.30.3",
|
"@testing-library/dom": "^7.30.3",
|
||||||
"@testing-library/user-event": "^13.1.3",
|
"@testing-library/user-event": "^13.1.3",
|
||||||
"@types/jest": "^26.0.14",
|
"@types/jest": "^27.0.2",
|
||||||
"@types/jest-image-snapshot": "^4.3.0",
|
"@types/jest-image-snapshot": "^4.3.1",
|
||||||
"@types/micromodal": "^0.3.2",
|
"@types/micromodal": "^0.3.2",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.28.2",
|
"@typescript-eslint/eslint-plugin": "^4.28.2",
|
||||||
"@typescript-eslint/parser": "^4.28.2",
|
"@typescript-eslint/parser": "^4.28.2",
|
||||||
"ajv": "^6.12.0",
|
"ajv": "^6.12.0",
|
||||||
"babel-jest": "^26.6.3",
|
"babel-jest": "^27.2.4",
|
||||||
"canvas": "^2.7.0",
|
"canvas": "^2.7.0",
|
||||||
"eslint": "^7.22.0",
|
"eslint": "^7.22.0",
|
||||||
"file-loader": "^6.0.0",
|
"file-loader": "^6.0.0",
|
||||||
"jest": "^26.6.3",
|
"jest": "^27.2.4",
|
||||||
"jest-image-snapshot": "^4.5.0",
|
"jest-image-snapshot": "^4.5.1",
|
||||||
"node-forge": "^0.10.0",
|
"node-forge": "^0.10.0",
|
||||||
"raw-loader": "^4.0.0",
|
"raw-loader": "^4.0.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"ts-jest": "^26.5.0",
|
"ts-jest": "^27.0.5",
|
||||||
"ts-loader": "^8.0.15",
|
"ts-loader": "^8.0.15",
|
||||||
"typescript": "^4.1.3",
|
"typescript": "^4.1.3",
|
||||||
"webpack": "^5.28.0",
|
"webpack": "^5.28.0",
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
/** @jest-environment jsdom */
|
||||||
/** @fileoverview Test for canvas.ts. */
|
/** @fileoverview Test for canvas.ts. */
|
||||||
|
|
||||||
import { VideoPage } from 'js/videomodes';
|
import { VideoPage } from 'js/videomodes';
|
||||||
|
|
|
@ -8,7 +8,7 @@ import {
|
||||||
|
|
||||||
describe('woz', () => {
|
describe('woz', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
spyOn(console, 'log');
|
jest.spyOn(console, 'log').mockImplementation();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can parse Woz version 1', () => {
|
it('can parse Woz version 1', () => {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
/** @jest-environment jsdom */
|
||||||
/** @fileoverview Test for canvas.ts. */
|
/** @fileoverview Test for canvas.ts. */
|
||||||
|
|
||||||
import { VideoPage } from 'js/videomodes';
|
import { VideoPage } from 'js/videomodes';
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
/** @jest-environment jsdom */
|
||||||
import { screen } from '@testing-library/dom';
|
import { screen } from '@testing-library/dom';
|
||||||
import userEvent from '@testing-library/user-event';
|
import userEvent from '@testing-library/user-event';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user