Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 21 additions & 28 deletions __e2e__/__snapshots__/config.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,29 @@ exports[`shows up current config without unnecessary output 1`] = `
{
"root": "<<REPLACED_ROOT>>/TestProject",
"reactNativePath": "<<REPLACED_ROOT>>/TestProject/node_modules/react-native",
"reactNativeVersion": "0.74",
"reactNativeVersion": "0.75",
"dependencies": {},
"commands": [
{
"name": "bundle",
"description": "Build the bundle for the provided JavaScript entry file.",
"options": [
"<<REPLACED>>"
]
},
{
"name": "start",
"description": "Start the React Native development server.",
"options": [
"<<REPLACED>>"
]
},
{
"name": "codegen",
"options": [
"<<REPLACED>>"
]
},
{
"name": "log-ios",
"description": "starts iOS device syslog tail",
Expand Down Expand Up @@ -51,33 +71,6 @@ exports[`shows up current config without unnecessary output 1`] = `
"options": [
"<<REPLACED>>"
]
},
{
"name": "bundle",
"description": "Build the bundle for the provided JavaScript entry file.",
"options": [
"<<REPLACED>>"
]
},
{
"name": "ram-bundle",
"description": "Build the RAM bundle for the provided JavaScript entry file. See https://reactnative.dev/docs/ram-bundles-inline-requires.",
"options": [
"<<REPLACED>>"
]
},
{
"name": "start",
"description": "Start the React Native development server.",
"options": [
"<<REPLACED>>"
]
},
{
"name": "codegen",
"options": [
"<<REPLACED>>"
]
}
],
"healthChecks": [],
Expand Down
2 changes: 1 addition & 1 deletion __e2e__/__snapshots__/default.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`shows up help information without passing in any args 1`] = `
"Usage: bin [command] [options]

Options:
-v Output the current version
-v --version Output the current version
-h, --help display help for command

Commands:
Expand Down
2 changes: 1 addition & 1 deletion __e2e__/root.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ beforeAll(() => {
writeFiles(DIR, {});

// Initialise React Native project
runCLI(DIR, ['init', 'TestProject', '--install-pods']);
runCLI(DIR, ['init', 'TestProject', `--pm`, 'npm', `--install-pods`]);

// Link CLI to the project
spawnScript('yarn', ['link', __dirname, '--all'], {
Expand Down