The current mock mechanism is "strict" regarding trailing slashes:
mockiavelli.mockGET('/example', {status: 200})
// GET /example/ => 404
This behaviour should be at least configurable to allow ignoring trailing slashes:
const mockiavelli = await Mockiavelli.setup(page, {ignoreTrailingSlashes: true});
mockiavelli.mockGET('/example', {status: 200})
// GET /example/ => 200
The current mock mechanism is "strict" regarding trailing slashes:
This behaviour should be at least configurable to allow ignoring trailing slashes: