Skip to content

Commit 26e9bb1

Browse files
committed
Update analytics history import path and coverage config
Changed the import path in history.analytics.test.ts from src/optional/analytics/history to src/utilities/analytics/history. Also removed src/optional/** from Jest coverage exclusion patterns to reflect updated file organization.
1 parent 7aaf016 commit 26e9bb1

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

jest.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ module.exports = {
3333
"!src/**/*.test.{js,ts}",
3434
"!src/**/__tests__/**",
3535
"!src/cli/**",
36-
"!src/optional/**",
3736
"!src/utilities/**",
3837
],
3938
coveragePathIgnorePatterns: ["/node_modules/", "/dist/", "/__tests__/"],

test/history.analytics.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ describe('History analytics wrappers (mocked)', () => {
6161

6262
// Import after mocks are in place
6363
// eslint-disable-next-line @typescript-eslint/no-var-requires
64-
const history = require('../src/optional/analytics/history'); // eslint-disable-line @typescript-eslint/no-var-requires
64+
const history = require('../src/utilities/analytics/history'); // eslint-disable-line @typescript-eslint/no-var-requires
6565

6666
const gridUserEntries = history.readGrid3HistoryForUser('alice');
6767
expect(gridUserEntries[0].source).toBe('Grid');

0 commit comments

Comments
 (0)