Skip to content

Commit

Permalink
remove unused const
Browse files Browse the repository at this point in the history
  • Loading branch information
Bars92 committed Jul 24, 2024
1 parent f44a2f4 commit 172b478
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/sdks/web-component/src/lib/constants/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export const PREV_VER_ASSETS_FOLDER = 'v2-alpha';

// Those files are saved on a new folder to prevent breaking changes
export const THEME_DEFAULT_NAME = 'theme';
export const THEME_DEFAULT_FILENAME = `${THEME_DEFAULT_NAME}.json`;

export const CONFIG_FILENAME = 'config.json';
3 changes: 2 additions & 1 deletion packages/sdks/web-component/test/descope-wc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
DESCOPE_LAST_AUTH_LOCAL_STORAGE_KEY,
ELEMENT_TYPE_ATTRIBUTE,
RESPONSE_ACTIONS,
THEME_DEFAULT_FILENAME,
THEME_DEFAULT_NAME,
URL_CODE_PARAM_NAME,
URL_ERR_PARAM_NAME,
URL_RUN_IDS_PARAM_NAME,
Expand Down Expand Up @@ -51,6 +51,7 @@ jest.mock('@descope/web-js-sdk', () => ({
}));

const WAIT_TIMEOUT = 10000;
const THEME_DEFAULT_FILENAME = `${THEME_DEFAULT_NAME}.json`;

const abTestingKey = getABTestingKey();

Expand Down

0 comments on commit 172b478

Please sign in to comment.