Skip to content

Commit cf937b2

Browse files
authored
chore(vite): fix for vite test making changes to package.json (#1500)
1 parent 43dcf58 commit cf937b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Integration/Vite/ViteInstallerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ protected function configure(): void
1717
{
1818
$this->installer->configure(__DIR__ . '/install', new Psr4Namespace('App\\', __DIR__ . '/install/app'));
1919

20+
mkdir(__DIR__ . '/install/node_modules');
21+
2022
// force usage of npm because bun will mutate Tempest's root install otherwise
2123
touch(__DIR__ . '/install/package-lock.json');
2224
}

0 commit comments

Comments
 (0)