Skip to content

Commit c836463

Browse files
committed
better msw warning filter so we don't get warning noise in console
1 parent 764f731 commit c836463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/msw-mock-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ export async function startMockAPI() {
8888
// not handle them and they fall through to the dev server, so warning
8989
// about them is just noise.
9090
const ignore = [
91-
path.includes('libs/ui/assets'),
9291
path.startsWith('/app'),
92+
path.startsWith('/libs/ui'),
9393
path.startsWith('/node_modules'),
9494
].some(Boolean)
9595
if (!ignore) {

0 commit comments

Comments
 (0)