From c5bcd98df035f5f19413d4528ccc651d4a4b8d3e Mon Sep 17 00:00:00 2001 From: Mario Lubenka Date: Sat, 21 Dec 2019 14:24:55 +0100 Subject: [PATCH] Adjusts ProcessCommand.test.ts --- test/Commands/ProcessCommand.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Commands/ProcessCommand.test.ts b/test/Commands/ProcessCommand.test.ts index aec6ec9..6e143a7 100644 --- a/test/Commands/ProcessCommand.test.ts +++ b/test/Commands/ProcessCommand.test.ts @@ -33,7 +33,7 @@ describe("ProcessCommand", () => { when(cliSpy.getOptions()).thenReturn({ src: 'scss/some-file.scss', dest: 'css/some-file.css', - includePath: ['path1', 'path2'] + includePath: 'path1' }); when(commandSpy.doCompileWork(anything())).thenResolve('compiled-css'); @@ -41,7 +41,7 @@ describe("ProcessCommand", () => { command.run() .then(() => { - verify(commandSpy.doCompileWork(objectContaining({ includePath: ['path1', 'path2'] }))).once(); + verify(commandSpy.doCompileWork(objectContaining({ includePath: 'path1' }))).once(); verify(commandSpy.doValidateWork('compiled-css')).once(); assert.equal(fs.readFileSync('css/some-file.css'), 'compiled-css'); done();