Commit 25f52b48 authored by Tim Neutkens's avatar Tim Neutkens

Update index.test.ts

parent cdfc9e17
...@@ -139,6 +139,8 @@ const runTests = () => { ...@@ -139,6 +139,8 @@ const runTests = () => {
], ],
'redirects' 'redirects'
) )
await retry(async () => {
const stderr = await getStderr() const stderr = await getStderr()
expect(stderr).toContain( expect(stderr).toContain(
...@@ -195,6 +197,7 @@ const runTests = () => { ...@@ -195,6 +197,7 @@ const runTests = () => {
expect(stderr).toContain('Invalid redirects found') expect(stderr).toContain('Invalid redirects found')
}) })
})
it('should error during next build for invalid rewrites', async () => { it('should error during next build for invalid rewrites', async () => {
await writeConfig( await writeConfig(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment