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) })