Skip to content

Commit

Permalink
Fix spread snapshot test (#1119)
Browse files Browse the repository at this point in the history
  • Loading branch information
vjeux committed Apr 5, 2017
1 parent 1578e18 commit b2c63b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
7 changes: 0 additions & 7 deletions tests/flow_type_spread/__snapshots__/jsfmt.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,3 @@ exports[`spread.js 1`] = `
type TypeB = { ...TypeA };
"
`;

exports[`spread.js 2`] = `
"type TypeB = { ...TypeA };
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
type TypeB = { ...TypeA };
"
`;
3 changes: 1 addition & 2 deletions tests/flow_type_spread/jsfmt.spec.js
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
run_spec(__dirname);
run_spec(__dirname, {parser: 'flow'});
run_spec(__dirname, null, ["babylon"]);

0 comments on commit b2c63b2

Please sign in to comment.