Skip to content

Commit

Permalink
Merge pull request #260 from jkcfg/2019-09-15-generate-compat
Browse files Browse the repository at this point in the history
tests: Add a test ensuring the file generate property still works
  • Loading branch information
dlespiau authored Sep 15, 2019
2 parents 8e30abc + c607b21 commit 98c2fe5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/generate-compat-file-property.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const object = {
message: 'success',
};

export default [
{ file: 'object0.yaml', value: object },
];
1 change: 1 addition & 0 deletions tests/test-generate-compat-file-property.js.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jk generate --stdout %t.js
1 change: 1 addition & 0 deletions tests/test-generate-compat-file-property.js.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
message: success

0 comments on commit 98c2fe5

Please sign in to comment.