Skip to content

Commit 0e4dde6

Browse files
committed
refactor: update imports to use @wdio/native-types for consistency
- Modified import statements in `wdio.electron.conf.ts`, `wdio.tauri-embedded.conf.ts`, and `wdio.tauri.conf.ts` to source `NormalizedPackageJson` from `@wdio/native-types`, ensuring uniformity across configuration files.
1 parent 16b2b70 commit 0e4dde6

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

e2e/wdio.electron.conf.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ import { existsSync, readFileSync } from 'node:fs';
22
import { dirname, join } from 'node:path';
33
import { fileURLToPath } from 'node:url';
44

5-
import type { WdioElectronConfig } from '@wdio/native-types';
6-
import type { NormalizedPackageJson } from 'read-package-up';
5+
import type { NormalizedPackageJson, WdioElectronConfig } from '@wdio/native-types';
76

87
import { createEnvironmentContext } from './config/envSchema.js';
98
import { fileExists, safeJsonParse } from './lib/utils.js';

e2e/wdio.tauri-embedded.conf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { existsSync, readFileSync } from 'node:fs';
22
import { dirname, join } from 'node:path';
33
import { fileURLToPath } from 'node:url';
44

5-
import type { NormalizedPackageJson } from 'read-package-up';
5+
import type { NormalizedPackageJson } from '@wdio/native-types';
66

77
import { createEnvironmentContext } from './config/envSchema.js';
88
import { fileExists, getLogDirName, safeJsonParse } from './lib/utils.js';

e2e/wdio.tauri.conf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { existsSync, readFileSync } from 'node:fs';
22
import { dirname, join } from 'node:path';
33
import { fileURLToPath } from 'node:url';
44

5-
import type { NormalizedPackageJson } from 'read-package-up';
5+
import type { NormalizedPackageJson } from '@wdio/native-types';
66

77
import { createEnvironmentContext } from './config/envSchema.js';
88
import { fileExists, safeJsonParse } from './lib/utils.js';

0 commit comments

Comments
 (0)