We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b628af4 + 5cb192d commit 20d7bc9Copy full SHA for 20d7bc9
1 file changed
packages/fxa-auth-server/lib/routes/oauth/token.spec.ts
@@ -745,6 +745,9 @@ describe('/oauth/token POST', () => {
745
jest.doMock('../utils/oauth', () => ({
746
newTokenNotification: newTokenNotificationStub,
747
}));
748
+ jest.doMock('../../oauth/token', () => ({
749
+ verify: sinon.stub().resolves({ user: UID }),
750
+ }));
751
const routes = require('./token')({
752
...tokenRoutesArgMocks,
753
db: {
@@ -828,6 +831,9 @@ describe('/oauth/token POST', () => {
828
831
829
832
830
833
834
835
836
837
838
839
0 commit comments