Skip to content

Commit 1ac26d3

Browse files
committed
test: run TestWasmExportJS tests in parallel
1 parent 0edeaf6 commit 1ac26d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,7 @@ func TestWasmFuncOf(t *testing.T) {
728728

729729
// Test //go:wasmexport in JavaScript (using NodeJS).
730730
func TestWasmExportJS(t *testing.T) {
731+
t.Parallel()
731732
type testCase struct {
732733
name string
733734
buildMode string
@@ -738,7 +739,9 @@ func TestWasmExportJS(t *testing.T) {
738739
{name: "c-shared", buildMode: "c-shared"},
739740
}
740741
for _, tc := range tests {
742+
tc := tc
741743
t.Run(tc.name, func(t *testing.T) {
744+
t.Parallel()
742745
// Build the wasm binary.
743746
tmpdir := t.TempDir()
744747
options := optionsFromTarget("wasm", sema)

0 commit comments

Comments
 (0)