mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
ci: update fixtures to node 18 (#23122)
This commit is contained in:
parent
df6a992cd6
commit
63d189a0c7
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -170,7 +170,7 @@ jobs:
|
||||
env: ['dev', 'built']
|
||||
builder: ['vite', 'webpack']
|
||||
context: ['async', 'default']
|
||||
node: [16]
|
||||
node: [18]
|
||||
exclude:
|
||||
- env: 'dev'
|
||||
builder: 'webpack'
|
||||
|
@ -751,12 +751,7 @@ describe('errors', () => {
|
||||
|
||||
it('should render a HTML error page', async () => {
|
||||
const res = await fetch('/error')
|
||||
// TODO: remove when we update CI to node v18
|
||||
if (process.version.startsWith('v16')) {
|
||||
expect(res.headers.get('Set-Cookie')).toBe('set-in-plugin=true; Path=/')
|
||||
} else {
|
||||
expect(res.headers.get('Set-Cookie')).toBe('set-in-plugin=true; Path=/, some-error=was%20set; Path=/')
|
||||
}
|
||||
expect(await res.text()).toContain('This is a custom error')
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user