Searched refs:thenCalled (Results 1 – 4 of 4) sorted by relevance
337 let thenCalled = false; variable340 if (thenCalled) throw new Error();341 thenCalled = true;348 let thenCalled = false;351 if (thenCalled) throw new Error();352 thenCalled = true;358 let thenCalled = false;361 if (thenCalled) throw new Error();362 thenCalled = true;369 let thenCalled = false;[all …]
354 let thenCalled = false; variable357 if (thenCalled) throw new Error();358 thenCalled = true;365 let thenCalled = false;368 if (thenCalled) throw new Error();369 thenCalled = true;
241 let thenCalled = false; variable246 thenCalled = true;252 return ws.getWriter().write('a').then(() => assert_true(thenCalled, 'thenCalled should be true'));
302 let thenCalled = false; variable307 thenCalled = true;314 return writer.abort().then(() => assert_true(thenCalled, 'then() should be called'));