also looking at this
Expand BunPress guide and pre-E2E quality gates
#35
40 files
+1524
-373
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -84,7 +84,7 @@ describe('the reports surface', () => { | |||||||||||||||||||||||||||||
| 84 | 84 | for (const page of ['resources/views/reports/index.stx', 'resources/views/reports/[slug].stx']) { | |||||||||||||||||||||||||||
| 85 | 85 | const source = readFileSync(join(root, page), 'utf8') | |||||||||||||||||||||||||||
| 86 | 86 | ||||||||||||||||||||||||||||
| 87 | expect(source).toContain('sessionFrom(cookies)') | ||||||||||||||||||||||||||||
| 87 | expect(source).toContain("sessionFrom(typeof cookies !== 'undefined' ? cookies : undefined)") | ||||||||||||||||||||||||||||
| 88 | 88 | expect(source).toContain(`
/var/www/reviewos-reviewos/releases/3e057f9/resources/views/layouts/app.stx:3931:6427: include error: Error loading include file AuthGuard: ENOENT: no such file or directory, open '/var/www/reviewos-reviewos/releases/3e057f9/resources/views/partials/AuthGuard.stx'
[1m[31m╭──────────────────────────────────────────────────────────────╮[0m
[1m[31m│[0m [1m[41m ERROR [0m [31mInclude Error[0m [1m[31m│[0m
[1m[31m╰──────────────────────────────────────────────────────────────╯[0m
[36m[1mFile:[0m [2mapp.stx[0m [90m(line 3931, col 6427)[0m
[33m[1mMessage:[0m Error loading include file AuthGuard: ENOENT: no such file or directory, open '/var/www/reviewos-reviewos/releases/3e057f9/resources/views/partials/AuthGuard.stx'
[34m[1mContext:[0m
[2m 3929:
3930:
> 3931:
| |||||||||||||||||||||||||||
| 89 | 89 | expect(source).toContain('auth-required') | |||||||||||||||||||||||||||
| 90 | 90 | // And the data is fetched only for an identified visitor. | |||||||||||||||||||||||||||