github.com/gopherjs/gopherjs@v1.19.0-beta1.0.20240506212314-27071a8796e4/compiler/natives/src/time/time_test.go (about) 1 //go:build js 2 // +build js 3 4 package time_test 5 6 import ( 7 "testing" 8 ) 9 10 func TestSleep(t *testing.T) { 11 t.Skip("time.Now() is not accurate enough for the test") 12 } 13 14 func TestEnvTZUsage(t *testing.T) { 15 t.Skip("TZ environment variable in not applicable in the browser context.") 16 }