Test Application Builder
Provides a simplified way to create test applications with in-memory implementations.
const app = await TestApplication.create() .useInMemoryDefaults() .build();await app.start();// Run testsawait app.stop(); Copy
const app = await TestApplication.create() .useInMemoryDefaults() .build();await app.start();// Run testsawait app.stop();
Static
Create a new test application builder
Use in-memory defaults for testing
Includes:
Set a custom container
Set a custom logger
Add a custom plugin
Optional
Build the application
Test Application Builder
Provides a simplified way to create test applications with in-memory implementations.
Example