Skip to content

Commit 8d659fb

Browse files
committed
fix: unused ts expect errors
1 parent 9522cb4 commit 8d659fb

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

packages/react-router/test/server/wrapServerAction.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ describe('wrapServerAction', () => {
120120
it('should skip span creation and warn when instrumentation API is used', async () => {
121121
// Reset modules to get a fresh copy with unset warning flag
122122
vi.resetModules();
123-
// @ts-expect-error - Dynamic import for module reset works at runtime but vitest's typecheck doesn't fully support it
124123
const { wrapServerAction: freshWrapServerAction } = await import('../../src/server/wrapServerAction');
125124

126125
// Set the global flag indicating instrumentation API is in use

packages/react-router/test/server/wrapServerLoader.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ describe('wrapServerLoader', () => {
120120
it('should skip span creation and warn when instrumentation API is used', async () => {
121121
// Reset modules to get a fresh copy with unset warning flag
122122
vi.resetModules();
123-
// @ts-expect-error - Dynamic import for module reset works at runtime but vitest's typecheck doesn't fully support it
124123
const { wrapServerLoader: freshWrapServerLoader } = await import('../../src/server/wrapServerLoader');
125124

126125
// Set the global flag indicating instrumentation API is in use

0 commit comments

Comments
 (0)