Skip to content

Commit

Permalink
chore: fix a lost import and nock
Browse files Browse the repository at this point in the history
  • Loading branch information
kschelonka committed Jan 29, 2025
1 parent f37ae6e commit e6cfc17
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ describe('accountDelete handler', () => {
}),
};

beforeEach(() => {
nock(config.endpoint).post(config.fxaRevokePath).reply(200);
});

afterEach(() => {
nock.cleanAll();
jest.restoreAllMocks();
Expand Down
1 change: 1 addition & 0 deletions servers/account-data-deleter/src/routes/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { default as queueDeleteRouter } from './queueDelete';
export { default as stripeDeleteRouter } from './stripeDelete';
export { default as revokeFxaRouter } from './revokeFxa';
6 changes: 5 additions & 1 deletion servers/account-data-deleter/src/server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import express, { Application, json } from 'express';
import { queueDeleteRouter, stripeDeleteRouter } from './routes';
import {
queueDeleteRouter,
stripeDeleteRouter,
revokeFxaRouter,
} from './routes';
import { EventEmitter } from 'events';
import {
BatchDeleteHandler,
Expand Down

0 comments on commit e6cfc17

Please sign in to comment.