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

add e2e with redis for all plugins #17

Open
mahendraHegde opened this issue Mar 25, 2024 · 0 comments
Open

add e2e with redis for all plugins #17

mahendraHegde opened this issue Mar 25, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@mahendraHegde
Copy link
Owner

mahendraHegde commented Mar 25, 2024

similar to nestjs plugin add e2e tests with redis for fastify and express plugin

export class TestModuleRedis {
static forRootAsync(options: { port: number; host: string }): DynamicModule {
return {
global: true,
module: TestModuleRedis,
controllers: [TestController],
imports: [
NodeIdempotencyModule.forRootAsync({
storage: {
adapter: StorageAdapterEnum.redis,
options: {
url: `redis://${options.host}:${options.port}`,
},
},
cacheTTLMS: 1000,
}),
],
};
}

@mahendraHegde mahendraHegde added help wanted Extra attention is needed good first issue Good for newcomers labels Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant