Skip to main content

Testing in a real browser

ReScript Test has a very simple API that can easily run in a real browser.

BrowserTests.res
include MyComponent__Testinclude MyOtherComponent__Test

Import the compiled file in an HTML page and you'll see your test output in the console!

If you want to see for yourself, check out your console! ๐Ÿ˜€