Skip to content

Commit

Permalink
chore: upgrade jest v26 -> v27
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelol committed Apr 2, 2022
1 parent a0a2335 commit 95f0b28
Show file tree
Hide file tree
Showing 4 changed files with 1,143 additions and 1,954 deletions.
8 changes: 5 additions & 3 deletions __tests__/transform-stream-utils.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ import {
import { createUSBCommand, USBCommand } from "../src/escan-commands";

describe.skip("getControlCodeInformation", () => {
// TODO: write this test
const dv = new DataView(new Uint8Array(0).buffer);
expect(getControlCodeInformation(dv)).toBeFalsy();
test("control code information", () => {
// TODO: write this test
const dv = new DataView(new Uint8Array(0).buffer);
expect(getControlCodeInformation(dv)).toBeFalsy();
});
});

describe("checkForNewReadPosition", () => {
Expand Down
2 changes: 1 addition & 1 deletion jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
preset: "ts-jest",
globals: {
"ts-jest": {
tsConfig: "<rootDir>/jestSetup/tsconfig.jest.json",
tsconfig: "<rootDir>/jestSetup/tsconfig.jest.json",
diagnostics: true,
},
},
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"homepage": "https://github.com/mikaello/emit-punch-cards-communication#readme",
"dependencies": {},
"devDependencies": {
"@types/jest": "^26.0.8",
"jest": "^26.2.2",
"ts-jest": "^26.1.4",
"@types/jest": "^27.4.1",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"typescript": "^3.9.7",
"web-streams-polyfill": "^2.1.0"
}
Expand Down
Loading

0 comments on commit 95f0b28

Please sign in to comment.