Skip to content

Commit

Permalink
use t.console for test
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianrath committed Jun 19, 2021
1 parent a969f18 commit 4b93788
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/5.repo.commit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async function repoTest(t, commondirInside: boolean) {
})
.then((dirItems: DirItem[]) => {
if (commondirInside) {
t.log(dirItems.map((value: DirItem) => value.absPath).join('\n'));
console.log(dirItems);
t.is(dirItems.length, 24, 'expect 24 items');
} else {
t.is(dirItems.length, 4, 'expect 3 items (foo + subdir + subdir/bar + .snow)');
Expand Down Expand Up @@ -169,7 +169,7 @@ test.only('repo open-commondir-inside', async (t) => {
1st commit: Add file 'foo'
2nd commit: Delete file 'foo'
*/
for (let i = 0; i < 100; ++i) {
for (let i = 0; i < 50; ++i) {
// eslint-disable-next-line no-await-in-loop
await repoTest(t, true);
}
Expand Down

0 comments on commit 4b93788

Please sign in to comment.