Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic committed Nov 13, 2024
1 parent 7977882 commit 440ba13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/astro/test/content-collections-render.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ describe('Content Collections - render()', () => {
assert.equal($('ul li').length, 3);

// Includes styles
assert.equal($('head > style').length, 2);
assert.equal($('head > style').length, 3);
assert.ok($('head > style').text().includes("font-family: 'Comic Sans MS'"));
});

Expand Down
8 changes: 4 additions & 4 deletions packages/astro/test/units/dev/collections-renderentry.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ describe('Content Collections - render()', () => {
assert.equal($('ul li').length, 3);

// Rendered the styles
assert.equal($('style').length, 2);
assert.equal($('style').length, 3);
},
);
});
Expand Down Expand Up @@ -158,7 +158,7 @@ describe('Content Collections - render()', () => {
assert.equal($('ul li').length, 3);

// Rendered the styles
assert.equal($('style').length, 2);
assert.equal($('style').length, 3);
},
);
});
Expand Down Expand Up @@ -225,7 +225,7 @@ describe('Content Collections - render()', () => {
assert.equal($('ul li').length, 3);

// Rendered the styles
assert.equal($('style').length, 2);
assert.equal($('style').length, 3);
},
);
});
Expand Down Expand Up @@ -291,7 +291,7 @@ describe('Content Collections - render()', () => {
assert.equal($('ul li').length, 3);

// Rendered the styles
assert.equal($('style').length, 2);
assert.equal($('style').length, 3);
},
);
});
Expand Down

0 comments on commit 440ba13

Please sign in to comment.