Skip to content

Commit

Permalink
replace @types/jest with @jest/globals
Browse files Browse the repository at this point in the history
  • Loading branch information
SCG82 committed Dec 28, 2022
1 parent 6f8471f commit c1a63f2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 24 deletions.
24 changes: 2 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"jest": {
"preset": "ts-jest/presets/default-esm",
"transform": {
"\\.ts$": [
"^.+\\.ts$": [
"ts-jest",
{
"useESM": true
Expand Down Expand Up @@ -87,7 +87,7 @@
]
},
"devDependencies": {
"@types/jest": "^29.2.4",
"@jest/globals": "^29.3.1",
"jest": "^29.3.1",
"rimraf": "^3.0.2",
"shx": "^0.3.4",
Expand Down
1 change: 1 addition & 0 deletions test/BitReader.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from "@jest/globals"
import BitReader from "../lib/BitReader.js"

describe('BitReader', () => {
Expand Down
1 change: 1 addition & 0 deletions test/PPS.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from "@jest/globals"
import { decodeRBSP, NALUType, parseNALU } from "../lib/NalUnits.js"
import { parsePPS, PPS, validatePPSId } from "../lib/PPS.js"

Expand Down
1 change: 1 addition & 0 deletions test/SPS.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from "@jest/globals"
import { decodeRBSP, NALUType, parseNALU } from "../lib/NalUnits.js"
import { parseSPS, SPS, validateSPSId } from "../lib/SPS.js"

Expand Down
1 change: 1 addition & 0 deletions test/Uuid.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from "@jest/globals"
import { parseUuid } from "../lib/index.js"

describe('UUID', () => {
Expand Down

0 comments on commit c1a63f2

Please sign in to comment.