Skip to content

[BUG] Warnings in tests RE: requests without a request handler #186

@rwjblue-glean

Description

@rwjblue-glean
stderr | src/test/auth/authorize.test.ts > authorize (device flow) > should throw with correct message if authorization server metadata fails
[MSW] Warning: intercepted a request without a matching request handler:

  • GET https://auth.example.com/.well-known/oauth-authorization-server

If you still wish to intercept this unhandled request, please create a request handler for it.
Read more: https://mswjs.io/docs/http/intercepting-requests

stderr | src/test/auth/authorize.test.ts > authorize (device flow) > should throw with correct message if authorization server metadata fails
[MSW] Warning: intercepted a request without a matching request handler:

  • GET https://auth.example.com/.well-known/oauth-authorization-server

If you still wish to intercept this unhandled request, please create a request handler for it.
Read more: https://mswjs.io/docs/http/intercepting-requests

stderr | src/test/auth/authorize.test.ts > authorize (device flow) > should throw with correct message if token poller rejects immediately
[MSW] Warning: intercepted a request without a matching request handler:

  • GET https://auth.example.com/.well-known/openid-configuration

If you still wish to intercept this unhandled request, please create a request handler for it.
Read more: https://mswjs.io/docs/http/intercepting-requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions