Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
thepassle committed Apr 23, 2024
1 parent 2510c6e commit 195109a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/rollup-plugin-html/test/rollup-plugin-html.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,7 @@ describe('rollup-plugin-html', () => {
expect(fontBold).to.exist;
expect(fontNormal).to.exist;
// e.g. "font-normal-f0mNRiTD.woff2"
// eslint-disable-next-line no-useless-escape
const regex = /assets[\/\\]font-normal-\w+\.woff2/;
// It outputs the font to the assets folder
expect(regex.test(fontNormal!.fileName)).to.equal(true);
Expand Down Expand Up @@ -1112,6 +1113,7 @@ describe('rollup-plugin-html', () => {
// It has emitted the font
expect(font).to.exist;
// e.g. "font-normal-f0mNRiTD.woff2"
// eslint-disable-next-line no-useless-escape
const regex = /assets[\/\\]font-normal-\w+\.woff2/;
// It outputs the font to the assets folder
expect(regex.test(font!.fileName)).to.equal(true);
Expand Down

0 comments on commit 195109a

Please sign in to comment.