Skip to content

fix(shouldRequire): return false when package type is module and … #84

fix(shouldRequire): return false when package type is module and …

fix(shouldRequire): return false when package type is module and … #84

Triggered via push August 12, 2024 15:51
Status Failure
Total duration 1m 18s
Artifacts

node.js.yml

on: push
Matrix: Continuous Integration
Fit to window
Zoom out
Zoom in

Annotations

7 errors
src/utils/getEntryPointsFromExports.test.ts > getEntryPointsFromExports() > Gets EntryPoint[] from package.json exports > Works with string ExportsEntryPath: src/utils/getEntryPointsFromExports.test.ts#L48
AssertionError: expected { moduleName: 'example', …(9) } to deeply equal { moduleName: 'example', …(9) } - Expected + Received Object { "condition": undefined, - "directory": "/tmp", + "directory": "D:\\tmp", "fileName": "main.js", "itemPath": Array [ "exports", ], "moduleName": "example", "packagePath": "/tmp/package.json", "relativePath": "main.js", - "resolvedPath": "/tmp/main.js", + "resolvedPath": "D:\\tmp\\main.js", "subpath": ".", "type": "commonjs", } ❯ src/utils/getEntryPointsFromExports.test.ts:48:33
Continuous Integration (22, windows-latest)
Process completed with exit code 1.
Continuous Integration (20, windows-latest)
The job was canceled because "_22_windows-latest" failed.
src/utils/getEntryPointsFromExports.test.ts > getEntryPointsFromExports() > Gets EntryPoint[] from package.json exports > Works with string ExportsEntryPath: src/utils/getEntryPointsFromExports.test.ts#L48
AssertionError: expected { moduleName: 'example', …(9) } to deeply equal { moduleName: 'example', …(9) } - Expected + Received Object { "condition": undefined, - "directory": "/tmp", + "directory": "D:\\tmp", "fileName": "main.js", "itemPath": Array [ "exports", ], "moduleName": "example", "packagePath": "/tmp/package.json", "relativePath": "main.js", - "resolvedPath": "/tmp/main.js", + "resolvedPath": "D:\\tmp\\main.js", "subpath": ".", "type": "commonjs", } ❯ src/utils/getEntryPointsFromExports.test.ts:48:33
Continuous Integration (20, windows-latest)
Process completed with exit code 1.
Continuous Integration (18, windows-latest)
The job was canceled because "_22_windows-latest" failed.
Continuous Integration (18, windows-latest)
The operation was canceled.