Skip to content

Commit a59f32f

Browse files
author
Robert Jackson
committed
Add failing tests for wait when not imported.
1 parent dd3e355 commit a59f32f

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { test } from 'qunit';
2+
import moduleForAcceptance from '../helpers/module-for-acceptance';
3+
4+
moduleForAcceptance('something');
5+
6+
test('uses global helpers', function(assert) {
7+
visit('/something');
8+
9+
wait().then(() => assert.ok(true));
10+
});
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { test } from 'qunit';
2+
import moduleForAcceptance from '../helpers/module-for-acceptance';
3+
4+
moduleForAcceptance('something');
5+
6+
test('uses global helpers', function(assert) {
7+
visit('/something');
8+
9+
wait().then(() => assert.ok(true));
10+
});

0 commit comments

Comments
 (0)