Skip to content

Commit f4a3add

Browse files
committed
test: coverage
1 parent 4462f26 commit f4a3add

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

server/fixture-user-menu/io-cp-fix.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
'use strict';
2-
31
async function copy() {
42
await IO.copy(dirPath, mp3Dir, mp3Names);
53
}

server/fixture-user-menu/io-mv-fix.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
'use strict';
2-
31
async function move() {
42
await IO.move(dirPath, mp3Dir, mp3Names);
53
}

server/user-menu.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ test('cloudcmd: user menu: io.mv', async (t) => {
6161
threadIt.terminate();
6262
fs.promises.readFile = readFile;
6363

64-
t.equal(fixtureMoveFix, body);
64+
t.equal(body, fixtureMoveFix);
6565
t.end();
6666
});
6767

@@ -83,6 +83,6 @@ test('cloudcmd: user menu: io.cp', async (t) => {
8383
threadIt.terminate();
8484
fs.promises.readFile = readFile;
8585

86-
t.equal(fixtureCopyFix, body);
86+
t.equal(body, fixtureCopyFix);
8787
t.end();
8888
});

0 commit comments

Comments
 (0)