Skip to content

Commit 1aae25e

Browse files
committed
feat: 🎸 Add order property to plugin elements in htmlPluginLoader tests
1 parent b6b3b3d commit 1aae25e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/htmlPluginLoader.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,34 +44,39 @@ describe('htmlPluginLoader', () => {
4444
id: 'style1',
4545
href: 'style1.css',
4646
position: 'beginning',
47+
order: 1,
4748
},
4849
],
4950
headInlineStyles: [
5051
{
5152
id: 'style1',
5253
content: 'p {}',
5354
position: 'beginning',
55+
order: 1,
5456
},
5557
],
5658
headScripts: [
5759
{
5860
id: 'script1',
5961
src: 'script1.js',
6062
position: 'beginning',
63+
order: 1,
6164
},
6265
],
6366
headInlineScripts: [
6467
{
6568
id: 'script2',
6669
content: 'console.log("script2")',
6770
position: 'end',
71+
order: 1,
6872
},
6973
],
7074
bodyScripts: [
7175
{
7276
id: 'script3',
7377
src: 'script3.js',
7478
position: 'end',
79+
order: 1,
7580
},
7681
],
7782
} satisfies TemplateOptions,

0 commit comments

Comments
 (0)