Skip to content

Commit 5a32a4e

Browse files
committed
fix: fix TypeScript 2554 error
1 parent de5aca6 commit 5a32a4e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/__tests__/volume.test.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ describe('volume', () => {
419419
});
420420
});
421421
describe('.read(fd, buffer, offset, length, position, callback)', () => {
422-
xit('...');
422+
xit('...', () => {});
423423
});
424424
describe('.readFileSync(path[, options])', () => {
425425
const vol = new Volume;
@@ -595,7 +595,7 @@ describe('volume', () => {
595595
});
596596
});
597597
describe('.symlink(target, path[, type], callback)', () => {
598-
xit('...');
598+
xit('...', () => {});
599599
});
600600
describe('.realpathSync(path[, options])', () => {
601601
const vol = new Volume;
@@ -662,7 +662,7 @@ describe('volume', () => {
662662
});
663663
});
664664
describe('.lstat(path, callback)', () => {
665-
xit('...');
665+
xit('...', () => {});
666666
});
667667
describe('.statSync(path)', () => {
668668
const vol = new Volume;
@@ -695,7 +695,7 @@ describe('volume', () => {
695695
});
696696
});
697697
describe('.stat(path, callback)', () => {
698-
xit('...');
698+
xit('...', () => {});
699699
});
700700
describe('.fstatSync(fd)', () => {
701701
const vol = new Volume;
@@ -713,7 +713,7 @@ describe('volume', () => {
713713
});
714714
});
715715
describe('.fstat(fd, callback)', () => {
716-
xit('...');
716+
xit('...', () => {});
717717
});
718718
describe('.linkSync(existingPath, newPath)', () => {
719719
const vol = new Volume;
@@ -733,7 +733,7 @@ describe('volume', () => {
733733
});
734734
});
735735
describe('.link(existingPath, newPath, callback)', () => {
736-
xit('...');
736+
xit('...', () => {});
737737
});
738738
describe('.readdirSync(path)', () => {
739739
it('Returns simple list', () => {
@@ -760,7 +760,7 @@ describe('volume', () => {
760760
});
761761
});
762762
describe('.readdir(path, callback)', () => {
763-
xit('...');
763+
xit('...', () => {});
764764
});
765765
describe('.readlinkSync(path[, options])', () => {
766766
it('Simple symbolic link to one file', () => {
@@ -808,7 +808,7 @@ describe('volume', () => {
808808
});
809809
});
810810
describe('.ftruncate(fd[, len], callback)', () => {
811-
xit('...');
811+
xit('...', () => {});
812812
});
813813
describe('.truncateSync(path[, len])', () => {
814814
const vol = new Volume;
@@ -828,7 +828,7 @@ describe('volume', () => {
828828
});
829829
});
830830
describe('.truncate(path[, len], callback)', () => {
831-
xit('...');
831+
xit('...', () => {});
832832
});
833833
describe('.utimesSync(path, atime, mtime)', () => {
834834
const vol = new Volume;
@@ -878,7 +878,7 @@ describe('volume', () => {
878878
});
879879
});
880880
describe('.mkdir(path[, mode], callback)', () => {
881-
xit('...');
881+
xit('...', () => {});
882882
xit('Create /dir1/dir2/dir3', () => { });
883883
});
884884
describe('.mkdtempSync(prefix[, options])', () => {

0 commit comments

Comments
 (0)