We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e2d2ed commit 52a9076Copy full SHA for 52a9076
1 file changed
bin/cloudcmd.spec.js
@@ -1,13 +1,12 @@
1
import {spawnSync} from 'node:child_process';
2
import {test} from 'supertape';
3
-
4
-const cliPath = new URL('cloudcmd.js', import.meta.url).pathname;
5
import info from '../package.json' with {
6
type: 'json',
7
-}
+};
+
+const cliPath = new URL('cloudcmd.js', import.meta.url).pathname;
8
9
test('cloudcmd: bin: cli: -h', (t) => {
10
- const {version} = info;
11
const {stdout} = spawnSync(cliPath, ['-h'], {
12
encoding: 'utf8',
13
});
0 commit comments