Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add .use() replacement regression tests #2145

Merged
merged 1 commit into from May 8, 2024
Merged

Conversation

kettanaito
Copy link
Member

*/
import { test, expect } from '../../playwright.extend'

test('handles a stream response without throwing a timeout error', async ({
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test for the worker.

server.close()
})

it('does not override existing handlers when adding override for a different method', async () => {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test for the server.

@kettanaito kettanaito merged commit ec70ba9 into main May 8, 2024
12 checks passed
@kettanaito kettanaito deleted the test/2129-add-tests branch May 8, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calls to worker.use() remove handlers to same endpoint with different method
1 participant