Open ImBIOS opened 5 months ago
I'm seing something similar. Same version of bun, same everything.
57 pass
0 fail
99 expect() calls
Ran 57 tests across 3 files. [625.00ms]
But in Github Actions 1 out of 3 suites fail.
https://github.com/navikt/helsesjekk-bot/actions/runs/8832904188/job/24251103585
Same for me, though I'm on MacOS (however GitHub Actions env is the same).
@ImBIOS looks like your CI is working now, what did you change?
@cjkoepke Nothing, the error moved from the Charset problem to the toHaveBeenCalledTimes problem, it still has errors. But, I'm not focusing on this problem in my library now, I'm focusing on looking for new opportunities.
What version of Bun is running?
1.0.36+40f61ebb9
What platform is your computer?
Linux 5.15.133.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
gh repo clone USERNAME/i18n-num-in-words
)bun install
)bun test
)bun test
, specifically, innum-in-words-factory.test.ts
file even though we ran successfully in our local machine.What is the expected behavior?
As a developer, I want the result of
bun test
to be consistent, so I can develop and debug easily.What do you see instead?
Inconsistent result, succes locally, error in GitHub Action.
Additional information
GitHub Action Log:
Local Log:
Local Env: