Skip to content

Commit b2e5bc5

Browse files
allow wasm to compile with ginkgo present (#1311)
1 parent 123e1d5 commit b2e5bc5

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//go:build wasm
2+
3+
package internal
4+
5+
func NewOutputInterceptor() OutputInterceptor {
6+
return &NoopOutputInterceptor{}
7+
}

internal/progress_report_wasm.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
//go:build wasm
2+
3+
package internal
4+
5+
import (
6+
"os"
7+
"syscall"
8+
)
9+
10+
var PROGRESS_SIGNALS = []os.Signal{syscall.SIGUSR1}

0 commit comments

Comments
 (0)