Skip to content

Commit

Permalink
test: add missing assertions for scss deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisermann committed Dec 17, 2023
1 parent 7f42697 commit 062baf2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/transformers/scss.test.ts
Expand Up @@ -14,6 +14,7 @@ describe('transformer - scss', () => {

const preprocessed = await preprocess(template, opts);

expect(preprocessed.dependencies).toHaveLength(1);
expect(preprocessed.dependencies).toContain(
resolve(__dirname, '..', 'fixtures', 'style.scss'),
);
Expand All @@ -25,6 +26,7 @@ describe('transformer - scss', () => {

const preprocessed = await preprocess(template, opts);

expect(preprocessed.dependencies).toHaveLength(1);
expect(preprocessed.dependencies).toContain(
resolve(__dirname, '..', 'fixtures', 'style.scss'),
);
Expand Down

0 comments on commit 062baf2

Please sign in to comment.