-
Notifications
You must be signed in to change notification settings - Fork 673
Fix test failure in fresh checkout of repository #4056
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
base: master
Are you sure you want to change the base?
Conversation
Change import from 'spacetimedb' to '../src' to match other test files. This fixes the test failing to resolve the package entry.
|
Hey @douglance, thank you for taking the time to make a contribution! To minimize noise in the repo, we generally try to avoid small preference-inspired PRs (unless they're specifically bringing us in line with our linter, style guide, etc.) I hope that's understandable. Please let me know if I've missed something important about the motivation or impact here! |
|
@bfops This fixes an issue where the tests fail unless the system has been built. It's not a preference thing. I lost some time trying to figure out why this test was failing on a fresh pull down of the repo. |
|
Ah got it, thank you! That makes sense. |
bfops
left a comment
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.
LGTM if this fixes failures!
Description of Changes
Use relative import
'../src'in serde.test.ts to match all other test files.This is a consistency fix. The
'spacetimedb'import works in CI (build runs first, enabling package self-reference), but all other tests use'../src'.API and ABI breaking changes
None
Expected complexity level and risk
1