Skip to content

Commit 09f5a77

Browse files
committed
test: fix breaking test
1 parent 1e774e9 commit 09f5a77

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/router/execute.spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ test.group('Route | execute', () => {
136136
async index() {
137137
stack.push('invoked')
138138
}
139+
140+
async handle() {
141+
stack.push('invoked handle')
142+
}
139143
}
140144

141145
const route = new Route(app, [], {
@@ -158,7 +162,7 @@ test.group('Route | execute', () => {
158162
const route1JSON = route1.toJSON()
159163
await route1JSON.execute(route1JSON, resolver, context)
160164

161-
assert.deepEqual(stack, ['invoked'])
165+
assert.deepEqual(stack, ['invoked', 'invoked handle'])
162166
})
163167

164168
test('execute route middleware defined as a function', async ({ assert }) => {

0 commit comments

Comments
 (0)