Skip to content

Commit

Permalink
Add tests and license file
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbyiliev committed Sep 29, 2023
1 parent 66179c2 commit 03f460d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 🤘",
Expand Down

0 comments on commit 03f460d

Please sign in to comment.