Skip to content

Commit

Permalink
fixed lint for unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ToMaarton committed Oct 18, 2024
1 parent 724051c commit b196b80
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/unit/models/photo-album-test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { run } from '@ember/runloop';
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';

Expand All @@ -23,7 +22,7 @@ module('Unit | Model | photo-album', function (hooks) {
photos[0].amountOfTags = 0;
photos[1].amountOfTags = 1;
photos[2].amountOfTags = 5;
assert.equal(album.amountOfPhotos, 3, "Amount of photos is correct");
assert.equal(album.amountOfTaggedPhotos, 2, "Amount of tags in album is correct");
assert.equal(album.amountOfPhotos, 3, 'Amount of photos is correct');
assert.equal(album.amountOfTaggedPhotos, 2, 'Amount of tagged photos in album is correct');

Check failure on line 26 in tests/unit/models/photo-album-test.js

View workflow job for this annotation

GitHub Actions / Lint

Replace `album.amountOfTaggedPhotos,·2,·'Amount·of·tagged·photos·in·album·is·correct'` with `⏎······album.amountOfTaggedPhotos,⏎······2,⏎······'Amount·of·tagged·photos·in·album·is·correct'⏎····`
});
});
});

0 comments on commit b196b80

Please sign in to comment.