Skip to content

Commit

Permalink
align tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jondot committed Jun 26, 2019
1 parent 3eab00b commit 0d5a185
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hygen",
"version": "4.0.6",
"version": "4.0.7",
"main": "lib/index.js",
"repository": "https://github.com/jondot/hygen",
"bin": {
Expand Down
11 changes: 9 additions & 2 deletions src/__tests__/__snapshots__/metaverse.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,15 @@ Object {

exports[`metaverse hygen-templates: cli-prefill-prompt-vars falsy-values-are-ok foobar --include_something false 1`] = `
Object {
"actions": Array [],
"success": false,
"actions": Array [
Object {
"status": "added",
"subject": "given/cli-prefill-prompt-vars/falsy.md",
"timing": -1,
"type": "add",
},
],
"success": true,
}
`;

Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/metaverse.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe('metaverse', () => {
'falsy-values-are-ok',
'foobar',
'--include_something',
false
'false'
],
['recursive-prompt', 'new'],
['positional-name', 'new', 'acmecorp'],
Expand Down

0 comments on commit 0d5a185

Please sign in to comment.