Skip to content

Commit

Permalink
Fix settings router test
Browse files Browse the repository at this point in the history
  • Loading branch information
Constance authored Jun 24, 2021
1 parent 8f19efb commit fdbdd74
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import { SettingsRouter } from './settings_router';
describe('SettingsRouter', () => {
const initializeSettings = jest.fn();
const NUM_SOURCES = staticSourceData.length;
// Should be 3 routes other than the sources listed Connectors, Customize, & OauthApplication
const NUM_ROUTES = NUM_SOURCES + 3;
// Should be 4 routes other than the sources listed: Connectors, Customize, & OauthApplication, & a redirect
const NUM_ROUTES = NUM_SOURCES + 4;

beforeEach(() => {
setMockActions({ initializeSettings });
Expand Down

0 comments on commit fdbdd74

Please sign in to comment.