mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 21:07:46 +00:00
[tests] Remove TODO comments from Middleware matchers vc dev test (#8037)
This commit is contained in:
@@ -508,18 +508,10 @@ test(
|
||||
|
||||
test(
|
||||
'[vercel dev] Middleware with `matchers` config',
|
||||
testFixtureStdio(
|
||||
'middleware-matchers',
|
||||
async (testPath: any) => {
|
||||
// TODO: remove once latest `@vercel/node` is shipped to stable with `matchers` support (fails because `directoryListing`)
|
||||
//await testPath(404, '/');
|
||||
await testPath(404, '/another');
|
||||
await testPath(200, '/about/page', 'middleware response');
|
||||
await testPath(200, '/dashboard/home', 'middleware response');
|
||||
},
|
||||
{
|
||||
// TODO: remove once latest `@vercel/node` is shipped to stable with `matchers` support
|
||||
skipDeploy: true,
|
||||
}
|
||||
)
|
||||
testFixtureStdio('middleware-matchers', async (testPath: any) => {
|
||||
await testPath(404, '/');
|
||||
await testPath(404, '/another');
|
||||
await testPath(200, '/about/page', 'middleware response');
|
||||
await testPath(200, '/dashboard/home', 'middleware response');
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user