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 5cb0b94 commit 497e9d8Copy full SHA for 497e9d8
test.js
@@ -1,4 +1,5 @@
1
const test = require('ava');
2
+const verifyFile = require('./lib/verify-file.js');
3
4
const main = async () => {
5
const {execa} = await import('execa');
@@ -24,6 +25,11 @@ const main = async () => {
24
25
test('is executable', async t => {
26
t.truthy(await executable(m.path));
27
});
28
+
29
+ test('verifies file', t => {
30
+ t.true(verifyFile(m.path));
31
+ t.falsy(verifyFile('foo'));
32
+ });
33
};
34
35
main();
0 commit comments