Skip to content

Commit 2210209

Browse files
committed
Use NPM for smoke tests
1 parent 0909758 commit 2210209

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

tests/smoke/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
node_modules
22
package.json
3-
yarn.lock
3+
package-lock.json

tests/smoke/prepare.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ const preparePackageJson = reactVersion => () => {
4646
path.join(__dirname, 'package.json'),
4747
JSON.stringify(packageJson, null, 2)
4848
);
49-
50-
fs.writeFileSync(path.join(__dirname, 'yarn.lock'), '');
5149
};
5250

5351
const installDependencies = () => () =>
@@ -56,7 +54,7 @@ const installDependencies = () => () =>
5654
return;
5755
}
5856

59-
execSync('yarn install', {
57+
execSync('npm install', {
6058
cwd: __dirname,
6159
stdio: 'inherit',
6260
});

tests/smoke/yarn.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+
5+
6+
version "19.0.0"
7+
resolved "https://registry.npmjs.org/react/-/react-19.0.0.tgz"
8+
integrity sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==

0 commit comments

Comments
 (0)