Skip to content

Commit 695c268

Browse files
committed
Fix test expectations
1 parent 913afef commit 695c268

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/e2e/app-dir/use-cache-custom-handler/use-cache-custom-handler.test.ts

-6
Original file line numberDiff line numberDiff line change
@@ -164,19 +164,13 @@ describe('use-cache-custom-handler', () => {
164164
await retry(async () => {
165165
const cliOutput = next.cliOutput.slice(outputIndex)
166166
expect(cliOutput).toInclude('ModernCustomCacheHandler::refreshTags')
167-
expect(cliOutput).toInclude('ModernCustomCacheHandler::getExpiration')
168167
expect(cliOutput).not.toInclude('ModernCustomCacheHandler::expireTags')
169168
})
170169
})
171170

172171
it('should not call getExpiration after an action', async () => {
173172
const browser = await next.browser(`/`)
174173

175-
await retry(async () => {
176-
const cliOutput = next.cliOutput.slice(outputIndex)
177-
expect(cliOutput).toInclude('ModernCustomCacheHandler::getExpiration')
178-
})
179-
180174
outputIndex = next.cliOutput.length
181175

182176
await browser.elementById('revalidate-tag').click()

0 commit comments

Comments
 (0)