From 8e699b1db4f1194daa40c1332c1cd5b357d2301a Mon Sep 17 00:00:00 2001 From: Gajus Kuizinas Date: Mon, 5 Jun 2023 13:08:01 -0600 Subject: [PATCH] fix: remove console-log --- src/subscribe.ts | 2 -- src/watch.test.ts | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/subscribe.ts b/src/subscribe.ts index 5df17be..69e990a 100644 --- a/src/subscribe.ts +++ b/src/subscribe.ts @@ -318,8 +318,6 @@ export const subscribe = (trigger: Trigger): Subscription => { initialRun: trigger.initialRun, persistent: trigger.persistent, teardown: async () => { - console.log('TEARDOWN', outerActiveTask?.abortController); - if (outerTeardownInitiated) { log.warn('teardown already initiated'); diff --git a/src/watch.test.ts b/src/watch.test.ts index f3168e7..406a554 100644 --- a/src/watch.test.ts +++ b/src/watch.test.ts @@ -138,6 +138,7 @@ it.skip('ignores file change events if the file hash is the same; file existed b }); // https://github.com/gajus/turbowatch/issues/17 +// Not clear why this is failing in CI/CD. it.skip('does not log every file change', async () => { const onChange = sinon.stub();