Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Commit d39b617

Browse files
committed
chore: fix typo in test
1 parent 05501d4 commit d39b617

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/api/__tests__/__snapshots__/index.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
exports[`Options with unknown template throws 1`] = `"The template directory must contain a configuration file \`.template.js\` or must be one of those: Angular InstantSearch, Autocomplete.js, InstantSearch Android, InstantSearch iOS, InstantSearch.js, InstantSearch.js 2, JavaScript Client, JavaScript Helper, React InstantSearch, React InstantSearch Native, Vue InstantSearch, Vue InstantSearch 1"`;
44

5-
exports[`Options with unvalid name throws 1`] = `
5+
exports[`Options with invalid name throws 1`] = `
66
"Could not create a project called \\"./WrongNpmName\\" because of npm naming restrictions.
77
- name cannot start with a period
88
- name can only contain URL-friendly characters"

src/api/__tests__/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ describe('Options', () => {
7070
}).toThrowErrorMatchingSnapshot();
7171
});
7272

73-
test('with unvalid name throws', () => {
73+
test('with invalid name throws', () => {
7474
expect(() => {
7575
createInstantSearchApp('/tmp/test-app', {
7676
name: './WrongNpmName',

0 commit comments

Comments
 (0)