Skip to content

Commit 5c54d36

Browse files
committed
fix: use bundler resolution module
1 parent 936b1f0 commit 5c54d36

3 files changed

Lines changed: 31 additions & 2 deletions

File tree

package-lock.json

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/softAssertions.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { describe, it, expect, beforeEach, vi } from 'vitest'
22
import { $ } from '@wdio/globals'
33
import { expect as expectWdio, SoftAssertionService, SoftAssertService } from '../src/index.js'
4-
import type { TestResult } from '@wdio/types/build/Frameworks'
54

65
vi.mock('@wdio/globals')
76

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"skipLibCheck": true,
1515
"strictPropertyInitialization": true,
1616
"strictNullChecks": true,
17-
"moduleResolution": "node", // To review since this is equivalent to node10
17+
"moduleResolution": "bundler",
1818
"allowSyntheticDefaultImports": true,
1919
"types": [
2020
"node",

0 commit comments

Comments
 (0)