Skip to content

Commit f11b4c4

Browse files
committed
Add some logging
1 parent f6847ad commit f11b4c4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/buildtools/src/prebuild/__tests__/tsc.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ describe('Test the augmented tsc functionality', () => {
4646
}, false);
4747

4848
expect(ts.createProgram).toHaveBeenCalledTimes(2);
49-
expect(mockedWriteFile).toHaveBeenCalledTimes(1);
5049
console.log(mockedWriteFile.mock.calls);
50+
expect(mockedWriteFile).toHaveBeenCalledTimes(1);
5151
const [[writePath]] = mockedWriteFile.mock.calls;
5252

5353
expect(writePath).not.toEqual(pathlib.join(testMocksDir, 'bundles', 'test0', '__tests__', 'test0.test.js'));

lib/markdown-tree/src/__tests__/index.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ describe('Test tree validation', () => {
9696
}
9797
]
9898
}, '/');
99+
console.log(warnings);
99100
expect(warnings.length).toEqual(0);
100101
expect(fs.existsSync).toHaveBeenCalledTimes(4);
101102
});
@@ -125,6 +126,7 @@ describe('Test tree validation', () => {
125126
}]
126127
}, '/');
127128

129+
console.log(warnings);
128130
expect(warnings.length).toEqual(1);
129131
expect(fs.existsSync).toHaveBeenCalledTimes(3);
130132
});

0 commit comments

Comments
 (0)