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 085f4e3 commit 72d2f2aCopy full SHA for 72d2f2a
src/index.js
@@ -17,6 +17,7 @@ async function main(cli) {
17
18
if (copy) {
19
copyToClipboard(result)
20
+ console.log('copied')
21
} else {
22
console.log(result)
23
}
test/test.js
@@ -91,7 +91,7 @@ test('Should copy to clipboard', t => {
91
copy: true,
92
},
93
})
94
- t.is(result.stdout, '')
+ t.is(result.stdout, 'copied')
95
t.is(readClipboard(), JSON.stringify(packageJson))
96
97
0 commit comments