Skip to content
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

test: fix gene-tools tests #46

Merged
merged 1 commit into from
Jan 2, 2025
Merged

test: fix gene-tools tests #46

merged 1 commit into from
Jan 2, 2025

Conversation

kopach
Copy link
Member

@kopach kopach commented Jan 2, 2025

No description provided.

Comment on lines -223 to -229
"export { useCreateQuestion } from './lib/useCreateQuestion';"
);
expect(indexFile).not.toContain(
"export { useDeleteQuestion } from './lib/useDeleteQuestion';"
);
expect(indexFile).toContain(
"export { useUpdateQuestion } from './lib/useUpdateQuestion';"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

based on expectations from above (see line 200). those should not be here

expect(indexFile).toContain(
"export { useUpdateQuestion } from './lib/useUpdateQuestion';"
);
expect(indexFile).toMatchInlineSnapshot(`
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like those nothing more that snapshost tests, so updated. This way it's easier to manage those in case of formatting change

@kopach kopach requested a review from krzotki January 2, 2025 11:28
@kopach kopach force-pushed the deps/upgrade-NX-fix-tests branch from 8cd00d9 to 224a008 Compare January 2, 2025 11:29
@kopach kopach changed the base branch from deps/upgrade-NX to master January 2, 2025 11:30
@kopach kopach closed this Jan 2, 2025
@kopach kopach reopened this Jan 2, 2025
@kopach kopach force-pushed the deps/upgrade-NX-fix-tests branch from 224a008 to 44b49bd Compare January 2, 2025 11:48
@kopach kopach enabled auto-merge (squash) January 2, 2025 11:49
@kopach kopach merged commit c813c01 into master Jan 2, 2025
16 checks passed
@kopach kopach deleted the deps/upgrade-NX-fix-tests branch January 2, 2025 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants