chore: perauset customer project
This commit is contained in:
10
e2e/tests/steps/health-check.steps.ts
Normal file
10
e2e/tests/steps/health-check.steps.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { When, Then } from '@cucumber/cucumber'
|
||||
import type { PerausetWorld } from '../support/world.js'
|
||||
|
||||
When('I send a GET request to {string}', async function (this: PerausetWorld, path: string) {
|
||||
await this.get(path)
|
||||
})
|
||||
|
||||
Then('the response status should be {int}', function (this: PerausetWorld, status: number) {
|
||||
this.expectStatus(status)
|
||||
})
|
||||
Reference in New Issue
Block a user