Skip to content
Closed
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
fixup: fix linter errors
  • Loading branch information
d3lm committed Sep 3, 2021
commit 71e09451b343da0b0df13ffd37b71835484a7651
6 changes: 3 additions & 3 deletions test/addons/no-addons/test-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const expectError = (error) => {
};

{
// flags should be inherited
// Flags should be inherited
const worker = new Worker(`require(${JSON.stringify(binding)})`, {
eval: true,
});
Expand All @@ -27,7 +27,7 @@ const expectError = (error) => {
}

{
// explicitly pass `--no-addons`
// Explicitly pass `--no-addons`
const worker = new Worker(`require(${JSON.stringify(binding)})`, {
eval: true,
execArgv: ['--no-addons'],
Expand All @@ -37,7 +37,7 @@ const expectError = (error) => {
}

{
// if `execArgv` is overwritten it should still fail to load addons
// If `execArgv` is overwritten it should still fail to load addons
const worker = new Worker(`require(${JSON.stringify(binding)})`, {
eval: true,
execArgv: [],
Expand Down