From 03f460d21c3594b38d2ad583235e491b2408ef9e Mon Sep 17 00:00:00 2001 From: Bobby Iliev Date: Fri, 29 Sep 2023 11:01:39 +0300 Subject: [PATCH] Add tests and license file --- bin/static.test.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/static.test.js b/bin/static.test.js index 3d79df5..feb3699 100644 --- a/bin/static.test.js +++ b/bin/static.test.js @@ -27,7 +27,11 @@ describe('bin/static CLI', () => { }); it('should build project', () => { - const output = executeCommand('cd testProject; ../bin/static build relative'); + const output = executeCommand('cd testProject/static-starter-main && ../../bin/static build relative'); + console.log('Output:', output); + console.log('Current Directory:', process.cwd()); + console.log('Directory Contents:', executeCommand('ls -al')); + const expectedOutput = [ "Contents from the public folder have been moved to the _site folder.", "Successfully built your new static website 🤘",