[fix] Routes check on e2e tests (#3022)

This PR updates our end to end tests so that they check every route in
our examples to ensure that it loads (skipping any routes that don't
features a canvas).

### Change Type

- [x] `tests` — Changes to any test code only[^2]

### Test Plan

- [x] End to end tests
This commit is contained in:
Steve Ruiz 2024-03-02 16:42:07 +00:00 committed by GitHub
parent 4cc823e22e
commit 338501d656
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 132 additions and 193 deletions

View file

@ -83,5 +83,5 @@ export async function createApiMarkdown() {
1
)
sectionsJson.push(apiInputSection)
fs.writeFileSync(sectionsJsonPath, JSON.stringify(sectionsJson, null, '\t'))
fs.writeFileSync(sectionsJsonPath, JSON.stringify(sectionsJson, null, '\t') + '\n')
}