Skip to content

Commit 9ac76f6

Browse files
committed
Mention top-level await support in the README
1 parent a3e9e64 commit 9ac76f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ config field to something that's high enough up to include both spec and source
7575
files, and set `srcFiles` to `[]`. You can autogenerate such a configuration by
7676
running `npx jasmine-browser-runner init --esm`.
7777

78+
If you have specs or helper files that use top-level await, set the
79+
`enableTopLevelAwait` config property is set to `true`.
80+
7881
## Use with Rails
7982

8083
You can use jasmine-browser-runner to test your Rails application's JavaScript,

0 commit comments

Comments
 (0)