-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[11/n] [RFC] add jest tests #26249
[11/n] [RFC] add jest tests #26249
Conversation
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit 1759d79. |
86a2d6a
to
95738ed
Compare
0301597
to
e131c31
Compare
95738ed
to
3d4c8b3
Compare
e131c31
to
a701abc
Compare
3d4c8b3
to
c4ced5f
Compare
c6e9fef
to
24d601b
Compare
c4ced5f
to
7b8782b
Compare
24d601b
to
8f73433
Compare
...dules/dagster-ui/packages/ui-core/src/ticks/__fixtures__/EvaluateScheduleDialog.fixtures.tsx
Outdated
Show resolved
Hide resolved
...dules/dagster-ui/packages/ui-core/src/ticks/__fixtures__/EvaluateScheduleDialog.fixtures.tsx
Outdated
Show resolved
Hide resolved
...dules/dagster-ui/packages/ui-core/src/ticks/__fixtures__/EvaluateScheduleDialog.fixtures.tsx
Outdated
Show resolved
Hide resolved
js_modules/dagster-ui/packages/ui-core/src/ticks/__fixtures__/SensorDryRunDialog.fixtures.tsx
Show resolved
Hide resolved
{ | ||
runConfigData: | ||
'solids:\n read_file:\n config:\n directory: /Users/marcosalazar/code/dagster/js_modules/dagster-ui/packages/ui-core/src/ticks/tests\n filename: DryRunRequestTable.test.tsx', | ||
selector: { |
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.
build
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.
see above
|
||
it('launches all runs', async () => { | ||
const pushSpy = jest.fn(); | ||
const createHrefSpy = jest.fn(); |
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.
you didn't actually use thsis variable
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.
had to include this cuz since I'm mocking useHistory
I get the error: TypeError: history.createHref is not a function
without it
7b8782b
to
101573e
Compare
9c99eb6
to
1759d79
Compare
## Summary & Motivation Linear: https://linear.app/dagster-labs/issue/FE-713/add-jest-tests-for-sensors-and-schedules Adds jest tests for launch all ## How I Tested These Changes yarn jest, ts, lint
## Summary & Motivation Linear: https://linear.app/dagster-labs/issue/FE-713/add-jest-tests-for-sensors-and-schedules Adds jest tests for launch all ## How I Tested These Changes yarn jest, ts, lint
## Summary & Motivation Linear: https://linear.app/dagster-labs/issue/FE-713/add-jest-tests-for-sensors-and-schedules Adds jest tests for launch all ## How I Tested These Changes yarn jest, ts, lint
Summary & Motivation
Linear: https://linear.app/dagster-labs/issue/FE-713/add-jest-tests-for-sensors-and-schedules
Adds jest tests for launch all
How I Tested These Changes
yarn jest, ts, lint