diff --git a/test/requestContextPlugin.e2e.spec.js b/test/requestContextPlugin.e2e.spec.js index bbf7619..db7ea68 100644 --- a/test/requestContextPlugin.e2e.spec.js +++ b/test/requestContextPlugin.e2e.spec.js @@ -96,8 +96,8 @@ describe('requestContextPlugin E2E', () => { const preValidationValue = req.requestContext.get('preValidation') const preHandlerValue = req.requestContext.get('preHandler') - expect(onRequestValue).toBe(undefined) - expect(preParsingValue).toBe(undefined) + expect(onRequestValue).toBeUndefined() + expect(preParsingValue).toBeUndefined() expect(preValidationValue).toEqual(expect.any(Number)) expect(preHandlerValue).toEqual(expect.any(Number))