Skip to content

Commit

Permalink
Merge pull request #18 from fouchekeagan/jest-29
Browse files Browse the repository at this point in the history
  • Loading branch information
shairez authored Jun 3, 2023
2 parents c2fffdc + ce1c0bd commit eb5afa8
Show file tree
Hide file tree
Showing 7 changed files with 2,641 additions and 3,135 deletions.
2 changes: 1 addition & 1 deletion packages/jasmine-given/.core-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
382072203b4c7df4478d1cc4e4fd825d5569ce2e
30d7377630e753cc9013b69da3d4514a3df7e867
2 changes: 1 addition & 1 deletion packages/jasmine-given/spec/jasmine-given.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
CONTEXT_FOR_GWT_ERROR,
} from '../../../shared/given-core/given-core';

const root = (1, eval)('this');
const root = (0, eval)('this');

describe('Jasmine Given', () => {
let fakeNumber: number | undefined;
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-given/.core-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
382072203b4c7df4478d1cc4e4fd825d5569ce2e
30d7377630e753cc9013b69da3d4514a3df7e867
12 changes: 6 additions & 6 deletions packages/jest-given/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hirez_io/jest-given",
"version": "1.1.1",
"version": "1.1.2",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.com"
Expand Down Expand Up @@ -40,13 +40,13 @@
"test": "echo \n*** Run tests from the root folder\n"
},
"peerDependencies": {
"jest": "< 29.x"
"jest": "< 30.x"
},
"devDependencies": {
"@types/jest": "28.1.6",
"@types/jest": "29.5.1",
"cpy-cli": "^3.1.1",
"jest": "28.1.3",
"microbundle": "^0.15.0",
"ts-jest": "28.0.7"
"jest": "29.5.0",
"microbundle": "^0.15.1",
"ts-jest": "29.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/jest-given/spec/jest-given.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
NO_STACK_ERROR,
} from '../../../shared/given-core/given-core';

const root = (1, eval)('this');
const root = (0, eval)('this');

describe('Jest Given', () => {
let fakeNumber: number | undefined;
Expand Down
2 changes: 1 addition & 1 deletion shared/given-core/given-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ declare global {
function Then(fn: TestCallback): void;
}

const root = (1, eval)('this');
const root = (0, eval)('this');
const whenFnsQueue: any[] = [];

let currentUserContext: any = null;
Expand Down
5,754 changes: 2,630 additions & 3,124 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit eb5afa8

Please sign in to comment.