Skip to content

Commit

Permalink
Don't rely on implicitly creating a global, does not.
Browse files Browse the repository at this point in the history
  • Loading branch information
rictic committed Aug 3, 2017
1 parent 3555b45 commit 28ed27e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions test/unit/async.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@
<head>
<meta charset="utf-8">
<script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
<script>
<script src="../../../web-component-tester/browser.js"></script>
<link rel="import" href="../../lib/utils/async.html">
</head>
<body>

<script>
var capturedErrors = [];
var captureEnabled = false;
window.addEventListener('error', function(e) {
Expand All @@ -23,13 +28,7 @@
return true;
}
});
</script>
<script src="../../../web-component-tester/browser.js"></script>
<link rel="import" href="../../lib/utils/async.html">
</head>
<body>

<script>
suite('Queueing micro tasks', function() {

test('The queued function runs.', function(done) {
Expand Down

0 comments on commit 28ed27e

Please sign in to comment.