Skip to content

Commit

Permalink
trying to output
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Sep 7, 2024
1 parent 9bd0f2e commit f16afcd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bin/static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('bin/static CLI', () => {
const output = executeCommand('./bin/static new testProject');
const expectedOutput = [
"New setup initialized",
"Downloading starter template",
"Downloading static starter template",
"Finished downloading template",
"Extracting template zip file",
"Finished unzipping",
Expand All @@ -27,7 +27,11 @@ describe('bin/static CLI', () => {
});

it('should build project', () => {
const output = executeCommand('cd testProject && ../bin/static build relative');
console.log('Output:', output);
console.log('Current Directory:', process.cwd());
console.log('Directory Contents:', executeCommand('ls -al'));

// 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'));
Expand Down

0 comments on commit f16afcd

Please sign in to comment.