Skip to content

Commit

Permalink
Updated expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRappl committed Dec 12, 2023
1 parent 3bffdc0 commit 785fecd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/pilet-new.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ runTests('pilet-new', ({ test }) => {
},
'pilet.json'(content: string) {
expect(content).not.toBe('');
expect(content).toContain('"sample-piral": {}');
expect(content).toContain('"sample-piral":');
},
'.npmrc': false,
'tsconfig.json': true,
Expand Down Expand Up @@ -140,7 +140,7 @@ runTests('pilet-new', ({ test }) => {
},
'pilet.json'(content: string) {
expect(content).not.toBe('');
expect(content).toContain('"sample-piral": {}');
expect(content).toContain('"sample-piral":');
},
'.npmrc'(content) {
expect(content).toContain('registry=https://registry.npmmirror.com/');
Expand Down Expand Up @@ -170,7 +170,7 @@ runTests('pilet-new', ({ test }) => {
},
'pilet.json'(content: string) {
expect(content).not.toBe('');
expect(content).toContain('"sample-piral": {}');
expect(content).toContain('"sample-piral":');
},
'tsconfig.json': true,
'node_modules/react/package.json': true,
Expand Down Expand Up @@ -198,7 +198,7 @@ runTests('pilet-new', ({ test }) => {
},
'foo-pilet/pilet.json'(content: string) {
expect(content).not.toBe('');
expect(content).toContain('"sample-piral": {}');
expect(content).toContain('"sample-piral":');
},
'foo-pilet/tsconfig.json': true,
'foo-pilet/node_modules/react/package.json': true,
Expand Down Expand Up @@ -228,7 +228,7 @@ runTests('pilet-new', ({ test }) => {
},
'pilet.json'(content: string) {
expect(content).not.toBe('');
expect(content).toContain('"sample-piral": {}');
expect(content).toContain('"sample-piral":');
},
'tsconfig.json': false,
'node_modules/react/package.json': false,
Expand Down Expand Up @@ -259,7 +259,7 @@ runTests('pilet-new', ({ test }) => {
},
'pilet.json'(content: string) {
expect(content).not.toBe('');
expect(content).toContain('"sample-piral": {}');
expect(content).toContain('"sample-piral":');
},
'tsconfig.json': false,
'node_modules/piral-cli/package.json': true,
Expand Down Expand Up @@ -288,7 +288,7 @@ runTests('pilet-new', ({ test }) => {
},
'pilet.json'(content: string) {
expect(content).not.toBe('');
expect(content).toContain('"sample-piral": {}');
expect(content).toContain('"sample-piral":');
},
'tsconfig.json': true,
'node_modules/react/package.json': true,
Expand Down

0 comments on commit 785fecd

Please sign in to comment.