Skip to content

Commit 284449f

Browse files
committed
minor
1 parent 23e4038 commit 284449f

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,8 @@ Or use [bun](https://bun.sh/) it's blazing fast!
2727

2828
## How does this all work? 🐉
2929

30-
Thanks to the awesome [vite-plugin-fable](https://fable.io/vite-plugin-fable/), check it out and contribute or join [F# discord](https://discord.com/channels/196693847965696000/196695876054286336).
30+
Thanks to the awesome [vite-plugin-fable](https://fable.io/vite-plugin-fable/), check it out and contribute or join [F# discord](https://discord.com/channels/196693847965696000/196695876054286336).
31+
32+
### Trick for vitest in solidjs
33+
34+
had to be aware of this [server inline trick](https://github.com/vitest-dev/vitest/discussions/6537) in [vitest.config.ts](./vitest.config.ts)

src/App.test.fs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ module Test =
112112

113113
Vi.describe("render app and increment count", fun () ->
114114

115+
Vi.afterAll(fun () ->
116+
Dom.cleanup()
117+
)
118+
115119
let element = Dom.render(App())
116120

117121
Vi.test("should render initial count", fun () ->

0 commit comments

Comments
 (0)