Skip to content

Commit

Permalink
fix: change order of middleware creation as test was failing
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajjs committed Dec 27, 2024
1 parent 952c32b commit 13c2db7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ describe("skipAuthenticateForOnboardingExtensionRequest Middleware", () => {
let req, res, next, authenticate: sinon.SinonSpy, verifyDiscordBot: sinon.SinonSpy;
let middleware;
beforeEach(() => {
middleware = skipAuthenticateForOnboardingExtensionRequest(authenticate, verifyDiscordBot);
authenticate = sinon.spy();
verifyDiscordBot = sinon.spy();
middleware = skipAuthenticateForOnboardingExtensionRequest(authenticate, verifyDiscordBot);
req = {
body:{},
query:{},
Expand Down

0 comments on commit 13c2db7

Please sign in to comment.