From 6fa1c43351c6518ee768204adb7e9229a6279f81 Mon Sep 17 00:00:00 2001 From: Igor Bykov Date: Tue, 16 Jan 2018 14:10:15 +0300 Subject: [PATCH] hot fix test in copy-sync-prevent-copying-into-itself.test.js --- .../__tests__/copy-sync-prevent-copying-into-itself.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/copy-sync/__tests__/copy-sync-prevent-copying-into-itself.test.js b/lib/copy-sync/__tests__/copy-sync-prevent-copying-into-itself.test.js index 1edffc7b..60cb8c85 100644 --- a/lib/copy-sync/__tests__/copy-sync-prevent-copying-into-itself.test.js +++ b/lib/copy-sync/__tests__/copy-sync-prevent-copying-into-itself.test.js @@ -63,7 +63,7 @@ describe('+ copySync() - prevent copying into itself', () => { describe('> when source is a directory', () => { describe('>> when dest is a directory', () => { - if (os.platform !== 'win32') { + if (os.platform() !== 'win32') { it(`of not itself`, done => { const dest = path.join(TEST_DIR, src) return testSuccess(src, dest, done)