Ashcon Partovi

Results 382 comments of Ashcon Partovi
trafficstars

This was implemented, you can now use [`expect().toMatchSnapshot()`](https://jestjs.io/docs/expect#tomatchsnapshotpropertymatchers-hint). We still need to implement inline snapshots.

> Hmm I actually found a PR that implemented this #2240, but it was reverted 🤔 cc: @Jarred-Sumner It had to be reverted because it caused other issues with CLI...

This has been fixed, tested as of Bun v1.0.7.

We'll take a look at this, it's possible that `electron` is manually checking the `node_modules/` folder and we may need to submit a patch for it to work with Bun.

No longer reproducible as of Bun v1.0.7. ```js ❯ bun test tests/options.version.test.js bun test v1.0.7 (fa1bbec0) tests/options.version.test.js: ✓ .version > when no .version and specify --version then unknown option error...

@robobun ```js import { writeFileSync } from "node:fs"; import { file } from "bun"; writeFileSync("./example.txt", "this is an example file"); console.log(await file("./test.txt").text()); ```

@robobun ```js import { writeFileSync } from "node:fs"; import { file } from "bun"; writeFileSync("./example.txt", "this is an example file"); console.log(await file("./example.txt").text()); ```