(script string, expectedResult Value, t *testing.T)
| 239 | } |
| 240 | |
| 241 | func testScriptWithTestLibX(script string, expectedResult Value, t *testing.T) { |
| 242 | New().testScriptWithTestLibX(script, expectedResult, t) |
| 243 | } |
| 244 | |
| 245 | func (r *Runtime) testAsyncFunc(src string, expectedResult Value, t *testing.T) { |
| 246 | v, err := r.RunScript("test.js", "(async function test() {"+src+"\n})()") |
no test coverage detected
searching dependent graphs…