github.com/gopherjs/gopherjs@v1.19.0-beta1.0.20240506212314-27071a8796e4/compiler/natives/src/testing/sub_test.go (about)

     1  //go:build js
     2  // +build js
     3  
     4  package testing
     5  
     6  func TestBenchmarkReadMemStatsBeforeFirstRun(t *T) {
     7  	t.Skip("runtime.ReadMemStats() is not supported by GopherJS.")
     8  }
     9  
    10  func TestTRun(t *T) {
    11  	// TODO(nevkontakte): This test performs string comparisons expecting to find
    12  	// sub_test.go in the output, but GopherJS currently reports caller
    13  	// locations as "test.<random_number>" due to minimal caller and source map support.
    14  	t.Skip("GopherJS doesn't support source maps sufficiently.")
    15  }
    16  
    17  func TestBRun(t *T) {
    18  	// TODO(nevkontakte): This test performs string comparisons expecting to find
    19  	// sub_test.go in the output, but GopherJS currently reports caller
    20  	// locations as "test.<random_number>" due to minimal caller and source map support.
    21  	t.Skip("GopherJS doesn't support source maps sufficiently.")
    22  }