-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up 'dead' tests by adding bailouts, except for 'timeout' test c…
…ases
- Loading branch information
Showing
16 changed files
with
50 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<!DOCTYPE html> | ||
<title>console</title> | ||
<script> | ||
console.log('TAP version 13'); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<!DOCTYPE html> | ||
<title>timeout-fail</title> | ||
<script> | ||
console.log('TAP version 13'); | ||
function delay(ms, fn) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<!DOCTYPE html> | ||
<title>fail</title> | ||
<script> | ||
console.log('TAP version 13'); | ||
console.log('ok 1 Foo bar'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<!DOCTYPE html> | ||
<title>pass</title> | ||
<script> | ||
console.log('TAP version 13'); | ||
console.log('ok 1 Foo bar'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<!DOCTYPE html> | ||
<title>skip</title> | ||
<script> | ||
console.log('TAP version 13'); | ||
console.log('ok 1 Foo bar'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<!DOCTYPE html> | ||
<title>slow</title> | ||
<script> | ||
function delay(ms, fn) { | ||
setTimeout(fn, ms); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<!DOCTYPE html> | ||
<title>todo</title> | ||
<script> | ||
console.log('TAP version 13'); | ||
console.log('ok 1 Foo bar'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
<!DOCTYPE html> | ||
<title>uncaught-custom</title> | ||
<script> | ||
throw { message: 'Boo' }; | ||
</script> | ||
<script> | ||
setTimeout(function () { | ||
console.log('Bail out! End of fixture'); // Don't wait for timeout | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
<!DOCTYPE html> | ||
<title>uncaught-early</title> | ||
<script> | ||
bar(); // Uncaught ReferenceError | ||
</script> | ||
<script> | ||
setTimeout(function () { | ||
console.log('Bail out! End of fixture'); // Don't wait for timeout | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<!DOCTYPE html> | ||
<title>uncaught-late</title> | ||
<script> | ||
console.log('TAP version 13'); | ||
function delay(ms, fn) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
<!DOCTYPE html> | ||
<title>uncaught-mid</title> | ||
<script> | ||
console.log('TAP version 13'); | ||
console.log('ok 1 Foo bar'); | ||
bar(); // Uncaught ReferenceError | ||
</script> | ||
<script> | ||
setTimeout(function () { | ||
console.log('Bail out! End of fixture'); // Don't wait for timeout | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
<!DOCTYPE html> | ||
<title>uncaught-multiple</title> | ||
<script> | ||
bar(); // Uncaught ReferenceError | ||
</script> | ||
<script> | ||
quux(); // Uncaught ReferenceError | ||
</script> | ||
<script> | ||
setTimeout(function () { | ||
console.log('Bail out! End of fixture'); // Don't wait for timeout | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters