-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump jest-extended and pin node to 18.13 #5013
Changes from all commits
e009d70
2beab76
50b1dec
60958e7
743059d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
18 | ||
18.13 | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
}, | ||
"engine-strict": true, | ||
"engines": { | ||
"node": "18.x", | ||
"node": ">=18.13 <19", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The range is supported here |
||
"npm": "8.x" | ||
}, | ||
"author": "Todd Schiller", | ||
|
@@ -237,7 +237,7 @@ | |
"identity-obj-proxy": "^3.0.0", | ||
"jest": "^29.3.1", | ||
"jest-environment-jsdom": "^29.3.1", | ||
"jest-extended": "^3.1.0", | ||
"jest-extended": "^3.2.3", | ||
"jest-webextension-mock": "^3.8.7", | ||
"jsdom": "^21.0.0", | ||
"jsdom-testing-mocks": "^1.6.0", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,21 +65,7 @@ describe("ParseDate block", () => { | |
runRendererPipeline: neverPromise, | ||
}); | ||
|
||
expect(result).toEqual({ | ||
utc: { | ||
iso8601: "2021-12-10T03:00:00.000Z", | ||
date: "12/10/2021", | ||
time: "3:00:00 AM", | ||
humanReadable: "Fri, 10 Dec 2021 03:00:00 GMT", | ||
epochMillis: 1_639_105_200_000, | ||
}, | ||
local: { | ||
iso8601: "2021-12-09T22:00:00.000-05:00", | ||
date: "12/9/2021", | ||
time: "10:00:00 PM", | ||
humanReadable: "12/9/2021, 10:00:00 PM", | ||
}, | ||
}); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Manual snapshots 🥲 |
||
expect(result).toMatchSnapshot(); | ||
|
||
const validation = await validateOutput(brick.outputSchema, result); | ||
expect(validation.valid).toBeTruthy(); | ||
|
@@ -128,21 +114,7 @@ describe("ParseDate block", () => { | |
runRendererPipeline: neverPromise, | ||
}); | ||
|
||
expect(result).toEqual({ | ||
utc: { | ||
iso8601: "2021-12-09T03:00:00.000Z", | ||
date: "12/9/2021", | ||
time: "3:00:00 AM", | ||
humanReadable: "Thu, 09 Dec 2021 03:00:00 GMT", | ||
epochMillis: 1_639_018_800_000, | ||
}, | ||
local: { | ||
iso8601: "2021-12-08T22:00:00.000-05:00", | ||
date: "12/8/2021", | ||
time: "10:00:00 PM", | ||
humanReadable: "12/8/2021, 10:00:00 PM", | ||
}, | ||
}); | ||
expect(result).toMatchSnapshot(); | ||
|
||
const validation = await validateOutput(brick.outputSchema, result); | ||
expect(validation.valid).toBeTruthy(); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No support for ranges
This is mainly for CI