-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
πβ»οΈπ Updates to
app-index
tests (#34887)
In general, makes the dev dashboard tests faster and more consistent with other `build-system` tests. 1. **Removes AMP validation of output**. This was the slowest process in tests. It wasn't providing much value since we'd never fail validation anyway. We could potentially use Bento components later so might as well remove. 2. **Uses `ava`**. This is faster and can be listed along other `ava` tests instead of requiring a custom runner. Also removed special runner, task, and related configuration. 3. **Uses `posthtml` instead of `JSDOM`**. This reduces the elapsed time of remaining tests from `~1s` to `~200ms`.
- Loading branch information
1 parent
fa14e5c
commit 47bacd8
Showing
13 changed files
with
472 additions
and
773 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
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
Oops, something went wrong.