Skip to content

Commit

Permalink
Disable Flow till facebook/flow#3234 is merged.
Browse files Browse the repository at this point in the history
  • Loading branch information
yamafaktory committed Feb 4, 2017
1 parent 34cf017 commit 90bf937
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
19 changes: 10 additions & 9 deletions tests/expression_statement/__snapshots__/jsfmt.spec.js.snap
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
exports[`test use_strict.js 1`] = `
"// Parentheses around expression statement should be preserved in this case.
(\"use strict\");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Parentheses around expression statement should be preserved in this case.
(\"use strict\");
"
`;

exports[`test no_regression.js 1`] = `
"// Ensure no regression.
\"use strict\";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Ensure no regression.
\"use strict\";
"
`;

exports[`test use_strict.js 1`] = `
"// Parentheses around expression statement should be preserved in this case.
(\"use strict\");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Parentheses around expression statement should be preserved in this case.
(\"use strict\");
"
`;
3 changes: 1 addition & 2 deletions tests/expression_statement/jsfmt.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
run_spec(__dirname);

// TODO: Re-enable Flow when the following fix is merged facebook/flow#3234.
run_spec(__dirname, {parser: 'babylon'});

0 comments on commit 90bf937

Please sign in to comment.