Skip to content

chore!: Normalize repository, dropping node <10.13 support #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor workaround
  • Loading branch information
phated committed Apr 7, 2022
commit 9dfda271242ee0437aa65ec40f853824ac9ba3ff
10 changes: 8 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ var minVersions = {};

var maxVersions = {};

var swcTested = false;

describe('interpret.extensions', function() {

beforeEach(cleanup);
Expand Down Expand Up @@ -127,8 +129,12 @@ describe('interpret.extensions', function() {
}

// Any swc test after the first will fail on linux due to https://github.com/swc-project/swc/issues/4107
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Every test for swc after the first fails due to swc-project/swc#4107

if (process.platform === 'linux' && extension === '.tsx' && name === '@swc/register') {
this.skip();
if (name === '@swc/register') {
if (process.platform === 'linux' && swcTested) {
this.skip();
} else {
swcTested = true;
}
}

this.timeout(0);
Expand Down