Post

Bun
Bun@bunjavascript·
In the next version of bun bun test supports the `onTestFinished` callback which runs when the current test finishes
Bun tweet media
English
24
8
263
286K
Bun
Bun@bunjavascript·
Bun tweet media
ZXX
0
0
32
26.1K
Lee Ash
Lee Ash@hazae41·
@bunjavascript using stack = new DisposableStack() stack.defer(() => console.log("finished")) console.log("started")
Lee Ash tweet media
English
2
0
9
5.8K
Meligy
Meligy@Meligy·
@bunjavascript Is this like afterEach in other testing frameworks?
English
0
0
8
3.3K
Vaibhav Acharya
Vaibhav Acharya@VaibhavAcharya_·
disappointed, was expecting a 'use test finish';
English
0
0
83
5.7K
Kim Taegon
Kim Taegon@taggon·
@bunjavascript For me, .resetModules() is the last piece that keeps me from using Bun's test suite.
English
0
0
1
1.3K
Jan Hesters
Jan Hesters@janhesters·
@bunjavascript Lol, you're too fast! ❤️ You literally already fixed one of my major problems. Now please 1.) allow us file ending specific test preloads, and 2.) reach out to the folks at @playwrightweb, so that we can run `bun --bun run test:e2e` and you're 🐐! x.com/janhesters/sta…
Jan Hesters@janhesters

Been trying out @bunjavascript since they released v1.3. My main two blockers for adoption: 1. Lacks test features (e.g. per file ending setup), 2. Doesn't support @playwrightweb properly. Once those things are fixed, Bun will become my goto. I love how fast it is.

English
0
0
0
538
Nicholas Shanks
Nicholas Shanks@nickshanks_·
@bunjavascript Just let the lambda return a function and use that instead of importing a new name
English
0
0
0
474
Paylaş