Skip to content

Commit

Permalink
test/fixes/280-url-with-semicolons.test.js: one more assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
macbre committed Jun 14, 2021
1 parent af373b7 commit a96b3b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/fixes/280-url-with-semicolons.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ body {
new analyzer(css, (err, res) => {
assert.ok(err === null, err);
assert.strictEqual(res.metrics.imports, 1, '@import is detected');
assert.strictEqual(res.metrics.selectors, 1, 'body {} is detected');
assert.deepStrictEqual(res.offenders.imports[0].message, "url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap')");
});
});
Expand Down

0 comments on commit a96b3b6

Please sign in to comment.