Skip to content

Commit 13770ad

Browse files
committed
chore: uses assert.expect in tests
1 parent a1d5db4 commit 13770ad

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/acceptance/root-test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ module('Acceptance: Root', function (hooks) {
3636
});
3737

3838
test('posting a string', function (assert) {
39+
assert.expect(3);
40+
3941
server.post('/upload', function (req) {
4042
assert.strictEqual(req.requestBody, 'foo');
4143
return [
@@ -59,6 +61,8 @@ module('Acceptance: Root', function (hooks) {
5961
});
6062

6163
test('posting a form', function (assert) {
64+
assert.expect(3);
65+
6266
server.post('/upload', function (req) {
6367
assert.ok(req.requestBody instanceof window.FormData);
6468
return [
@@ -84,6 +88,8 @@ module('Acceptance: Root', function (hooks) {
8488
});
8589

8690
test('posting an array buffer', function (assert) {
91+
assert.expect(3);
92+
8793
server.post('/upload', function (req) {
8894
assert.ok(req.requestBody instanceof window.ArrayBuffer);
8995
return [

0 commit comments

Comments
 (0)