Skip to content

Commit

Permalink
Fix compiler filter RegExps
Browse files Browse the repository at this point in the history
  • Loading branch information
inikulin committed Jan 9, 2017
1 parent 874487a commit 0565d2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/es-next/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import stackCleaningHook from '../../errors/stack-cleaning-hook';
const COMMON_API_PATH = join(__dirname, '../../api/common');
const CWD = process.cwd();

const FIXTURE_RE = /(^|;|\s+)fixture\s*\.|\(/;
const TEST_RE = /(^|;|\s+)test\s*\.|\(/;
const FIXTURE_RE = /(^|;|\s+)fixture\s*(\.|\(|`)/;
const TEST_RE = /(^|;|\s+)test\s*(\.|\()/;
const BABEL_RUNTIME_RE = /^babel-runtime(\\|\/|$)/;

var Module = module.constructor;
Expand Down

0 comments on commit 0565d2d

Please sign in to comment.