fix(packages/node): test with vitest instead of native node #144
Annotations
5 errors
|
release
Process completed with exit code 1.
|
|
src/index.test.ts > Extension Path Resolution > getExtensionInfo() returns complete info object:
packages/node/src/index.test.ts#L76
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/index.test.ts:76:55
|
|
src/index.test.ts > Extension Path Resolution > getExtensionPath() returns a string or throws:
packages/node/src/index.test.ts#L58
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/index.test.ts:58:55
|
|
src/index.test.ts > Platform Detection > getPlatformPackageName() returns correct package name format:
packages/node/src/platform.ts#L121
Error: Unsupported platform: linux-x64. Supported platforms: darwin-arm64, darwin-x86_64, linux-arm64, linux-x86_64, win32-x86_64 (with glibc or musl support for Linux)
❯ getCurrentPlatform src/platform.ts:121:9
❯ getPlatformPackageName src/platform.ts:132:27
❯ src/index.test.ts:29:25
|
|
src/index.test.ts > Platform Detection > getCurrentPlatform() returns a valid platform:
packages/node/src/platform.ts#L121
Error: Unsupported platform: linux-x64. Supported platforms: darwin-arm64, darwin-x86_64, linux-arm64, linux-x86_64, win32-x86_64 (with glibc or musl support for Linux)
❯ getCurrentPlatform src/platform.ts:121:9
❯ src/index.test.ts:14:22
|