Skip to content

Commit a5c197e

Browse files
committed
test: add logs
1 parent 1f4192a commit a5c197e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

test/cli.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const run = (recipe: string) => {
1616
'input'
1717
);
1818
const inputDest = path.resolve(cache, recipe);
19+
console.log({ originalInput, inputDest });
1920
fs.copySync(originalInput, inputDest);
2021

2122
// Run the command
@@ -28,6 +29,8 @@ const run = (recipe: string) => {
2829
);
2930
const inputGlob = path.join(inputDest, '**', '*.css');
3031
const command = `${bin} -t ${transform} '${inputGlob}'`;
32+
33+
console.log({ transform, inputGlob, command });
3134
try {
3235
execSync(command);
3336
} catch (err) {
@@ -56,7 +59,7 @@ const run = (recipe: string) => {
5659
};
5760

5861
const recipes = fs.readdirSync(path.resolve(__dirname, '..', 'recipes'));
59-
62+
console.log({ recipes });
6063
describe('cli', () => {
6164
beforeAll(() => {
6265
fs.removeSync(cache);

0 commit comments

Comments
 (0)