Skip to content

Commit bd6904e

Browse files
committed
feat: tests
1 parent 7b5c313 commit bd6904e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/integration/nextjs-cache-handler.integration.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ describe('Next.js Turbo Redis Cache Integration', () => {
441441
process.env.VERCEL_URL + '__sharedTags__',
442442
cacheEntryKey,
443443
);
444-
console.log('hashmap', hashmap);
445444
expect(JSON.parse(hashmap)).toEqual([
446445
'revalidated-fetch-revalidate15-nested-fetch-in-api-route',
447446
]);
@@ -496,7 +495,6 @@ describe('Next.js Turbo Redis Cache Integration', () => {
496495
process.env.VERCEL_URL + '__sharedTags__',
497496
cacheEntryKey,
498497
);
499-
console.log('hashmap', hashmap);
500498
expect(JSON.parse(hashmap)).toEqual([
501499
'revalidated-fetch-revalidate15-nested-fetch-in-api-route',
502500
]);
@@ -671,7 +669,6 @@ describe('Next.js Turbo Redis Cache Integration', () => {
671669
'/pages/revalidated-fetch/revalidate15--default-page',
672670
);
673671
const pageText = await pageRes.text();
674-
console.log('pageText', pageText);
675672
const timestamp = pageText.match(/Timestamp: <!-- -->(\d+)/)?.[1];
676673
const counter = pageText.match(/Counter: <!-- -->(\d+)/)?.[1];
677674
expect(timestamp).toBeDefined();
@@ -689,7 +686,6 @@ describe('Next.js Turbo Redis Cache Integration', () => {
689686
process.env.VERCEL_URL +
690687
'e978cf5ddb8bf799209e828635cfe9ae6862f6735cea97f01ab752ff6fa489b4',
691688
);
692-
console.log('keys2', keys2, process.env.VERCEL_URL);
693689
expect(keys2.length).toBe(1);
694690
const keys3 = await redisClient.keys(
695691
process.env.VERCEL_URL + '/api/revalidated-fetch',

0 commit comments

Comments
 (0)