Skip to content

Commit

Permalink
fix: mirage fixtures are randomized so we cant assert.expect
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaiWithJai committed Jan 20, 2022
1 parent cae4bec commit a6b3836
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable qunit/require-expect */
/* Mirage fixtures are random so we can't expect a set number of assertions */
import hbs from 'htmlbars-inline-precompile';
import { findAll, find, render } from '@ember/test-helpers';
import { module, test } from 'qunit';
Expand Down Expand Up @@ -25,8 +27,6 @@ module(
});

test('when the job has placement failures, they are called out', async function (assert) {
assert.expect(6);

this.server.create('job', {
failedPlacements: true,
createAllocations: false,
Expand Down

0 comments on commit a6b3836

Please sign in to comment.