WireMock Testcontainers for Node.js
Run WireMock in Testcontainers from your Node.js tests, with a typed, fluent API.
New here? Install, then follow the quick start.
Find your task
| I want to… | Go to |
|---|---|
| Serve stubs from files, directories, npm packages or inline JSON | Registering stubs |
| Point at a file by path, URL, module or package | File sources |
| Pin the image or pass WireMock options | Configuring the container |
| Start, wait for, address or stop WireMock | Container lifecycle |
| Reset stubs, scenarios or the journal between tests | Test isolation |
| Assert what my code sent | Verifying requests |
| Load a WireMock extension | Java extensions, TypeScript extensions |
| Package an extension for my tests | Authoring extensions |
| Run tests without Docker | Running without Docker |
| Fix an error | Troubleshooting |
| Look up an API | API overview, API reference |
Background: how it works.