-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test: Remove
expectation
from automated tests config
Best if it’s in the title
- Loading branch information
Showing
4 changed files
with
2 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
export const title = 'Hover long enough to prefetch, then click (no cache)' | ||
export const title = 'Uses prefetch cache when clicking after having hovered long enough to prefetch, without HTTP caching set' | ||
|
||
export const environment = { | ||
pageLoadTime: 200, | ||
cacheMaxAge: false, | ||
} | ||
|
||
export const expectation = 'Navigated page is from prefetch cache' | ||
|
||
export function checkExpectation(data) { | ||
return data.transferSize === 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters