Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Aug 31, 2023
1 parent 5a4408a commit 77ce365
Show file tree
Hide file tree
Showing 2 changed files with 220 additions and 220 deletions.
60 changes: 30 additions & 30 deletions tests/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,44 +36,44 @@ const nodeVersions = [
});

await describe('tsx', ({ runTestSuite }) => {
// runTestSuite(
// import('./specs/cli'),
// fixture.path,
// );
runTestSuite(
import('./specs/cli'),
fixture.path,
);
runTestSuite(
import('./specs/watch'),
fixture.path,
);
});

// for (const nodeVersion of nodeVersions) {
// const node = await createNode(nodeVersion, fixture.path);
for (const nodeVersion of nodeVersions) {
const node = await createNode(nodeVersion, fixture.path);

// node.packageType = packageType;
node.packageType = packageType;

// await describe(`Node ${node.version}`, ({ runTestSuite }) => {
// runTestSuite(
// import('./specs/repl'),
// node,
// );
// runTestSuite(
// import('./specs/javascript'),
// node,
// );
// runTestSuite(
// import('./specs/typescript'),
// node,
// );
// runTestSuite(
// import('./specs/json'),
// node,
// );
// runTestSuite(
// import('./specs/wasm'),
// node,
// );
// });
// }
await describe(`Node ${node.version}`, ({ runTestSuite }) => {
runTestSuite(
import('./specs/repl'),
node,
);
runTestSuite(
import('./specs/javascript'),
node,
);
runTestSuite(
import('./specs/typescript'),
node,
);
runTestSuite(
import('./specs/json'),
node,
);
runTestSuite(
import('./specs/wasm'),
node,
);
});
}
});
}
})();
Loading

0 comments on commit 77ce365

Please sign in to comment.