diff options
author | Mohammad Sulaiman <mohammad.sulaiman@exalt.ps> | 2024-09-25 21:46:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-25 18:46:18 +0000 |
commit | c232ecc6af5a09a8f0480e3b2b87ef2cd2b3a348 (patch) | |
tree | 49874a35cc2d27d90d0ec26423e8bfe040385683 /tests/testdata/npm/cjs_yargs/main.js | |
parent | 8cdb309ffd6686b2f3c4a2126d927fd5770be34d (diff) |
chore: deprecate npm itests (#25804)
Diffstat (limited to 'tests/testdata/npm/cjs_yargs/main.js')
-rw-r--r-- | tests/testdata/npm/cjs_yargs/main.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/testdata/npm/cjs_yargs/main.js b/tests/testdata/npm/cjs_yargs/main.js deleted file mode 100644 index 832fd053c..000000000 --- a/tests/testdata/npm/cjs_yargs/main.js +++ /dev/null @@ -1,20 +0,0 @@ -import yargs from "npm:yargs@15.4.1"; - -const args = yargs(["serve", "8000"]) - .command("serve [port]", "start the server", (yargs) => { - return yargs - .positional("port", { - describe: "port to bind on", - default: 5000, - }); - }, (argv) => { - console.info(`start server on :${argv.port}`); - }) - .option("verbose", { - alias: "v", - type: "boolean", - description: "Run with verbose logging", - }) - .argv; - -console.log(args); |