Skip to content

Commit

Permalink
Fix and automate integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jfparadis committed Oct 1, 2019
1 parent c3d104d commit 627b16a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
- run: &test
name: Test
command: npm run shim:test
- run: &test_integration
name: Test-Integration
command: npm run shim:test-integration

lint_and_test_node_10:
<<: *lint_and_test
Expand Down
2 changes: 1 addition & 1 deletion src/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function assert(condition, message) {
export function cleanupSource(src) {
// Restore eval which is modified by esm module.
// (0, eval) => (0, _<something>.e)
src = src.replace(/\(0, _[^.]+\.e\)/g, '(0, eval)');
src = src.replace(/\(0,\s*_[^.]+\.e\)/g, '(0, eval)');

// Restore Reflect which is modified by esm module.
// Reflect => _<something>.e.Reflect
Expand Down

0 comments on commit 627b16a

Please sign in to comment.