We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e774e9 commit 09f5a77Copy full SHA for 09f5a77
tests/router/execute.spec.ts
@@ -136,6 +136,10 @@ test.group('Route | execute', () => {
136
async index() {
137
stack.push('invoked')
138
}
139
+
140
+ async handle() {
141
+ stack.push('invoked handle')
142
+ }
143
144
145
const route = new Route(app, [], {
@@ -158,7 +162,7 @@ test.group('Route | execute', () => {
158
162
const route1JSON = route1.toJSON()
159
163
await route1JSON.execute(route1JSON, resolver, context)
160
164
161
- assert.deepEqual(stack, ['invoked'])
165
+ assert.deepEqual(stack, ['invoked', 'invoked handle'])
166
})
167
168
test('execute route middleware defined as a function', async ({ assert }) => {
0 commit comments