Skip to content

Commit

Permalink
test: run TestWasmExportJS tests in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
aykevl committed Nov 1, 2024
1 parent 0edeaf6 commit 1ac26d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,7 @@ func TestWasmFuncOf(t *testing.T) {

// Test //go:wasmexport in JavaScript (using NodeJS).
func TestWasmExportJS(t *testing.T) {
t.Parallel()
type testCase struct {
name string
buildMode string
Expand All @@ -738,7 +739,9 @@ func TestWasmExportJS(t *testing.T) {
{name: "c-shared", buildMode: "c-shared"},
}
for _, tc := range tests {
tc := tc
t.Run(tc.name, func(t *testing.T) {
t.Parallel()
// Build the wasm binary.
tmpdir := t.TempDir()
options := optionsFromTarget("wasm", sema)
Expand Down

0 comments on commit 1ac26d3

Please sign in to comment.