create-e2e-test

Installation
SKILL.md

Create E2E Test

Create E2E test file for a module. Module name: $ARGUMENTS

Test File Location

Create file: apps/core/test/src/modules/<module-name>/<module-name>.controller.e2e-spec.ts

E2E Test Template

import { describe, expect, it, afterAll } from 'vitest'
import type { MongooseModel } from '~/shared/types/mongoose.types'
import { createE2EApp } from 'test/helper/create-e2e-app'
import { apiRoutePrefix } from '~/common/decorators/api-controller.decorator'

// Import module under test
import { <Name>Controller } from '~/modules/<name>/<name>.controller'
import { <Name>Service } from '~/modules/<name>/<name>.service'
Related skills
Installs
1
Repository
mx-space/core
GitHub Stars
518
First Seen
Mar 29, 2026