diff options
Diffstat (limited to 'tests/specs')
-rw-r--r-- | tests/specs/npm/lifecycle_scripts/__test__.jsonc | 15 | ||||
-rw-r--r-- | tests/specs/npm/lifecycle_scripts/fsevents.js | 1 | ||||
-rw-r--r-- | tests/specs/npm/lifecycle_scripts/fsevents.out | 3 |
3 files changed, 19 insertions, 0 deletions
diff --git a/tests/specs/npm/lifecycle_scripts/__test__.jsonc b/tests/specs/npm/lifecycle_scripts/__test__.jsonc index 18a2d405e..5639c83cd 100644 --- a/tests/specs/npm/lifecycle_scripts/__test__.jsonc +++ b/tests/specs/npm/lifecycle_scripts/__test__.jsonc @@ -104,6 +104,21 @@ "output": "conflicting_bin.out" } ] + }, + "fsevents_default_install_script": { + "tempDir": true, + "steps": [ + { + "if": "mac", + "args": "cache fsevents.js", + "output": "fsevents.out" + }, + { + "if": "mac", + "args": "cache --allow-scripts fsevents.js", + "output": "" + } + ] } } } diff --git a/tests/specs/npm/lifecycle_scripts/fsevents.js b/tests/specs/npm/lifecycle_scripts/fsevents.js new file mode 100644 index 000000000..45ddf686f --- /dev/null +++ b/tests/specs/npm/lifecycle_scripts/fsevents.js @@ -0,0 +1 @@ +import {} from "npm:fsevents"; diff --git a/tests/specs/npm/lifecycle_scripts/fsevents.out b/tests/specs/npm/lifecycle_scripts/fsevents.out new file mode 100644 index 000000000..021886593 --- /dev/null +++ b/tests/specs/npm/lifecycle_scripts/fsevents.out @@ -0,0 +1,3 @@ +Download http://localhost:4260/fsevents +Download http://localhost:4260/fsevents/fsevents-2.3.3.tgz +Initialize fsevents@2.3.3 |