Skip to content

fix: publish esm-shims.js #250

fix: publish esm-shims.js

fix: publish esm-shims.js #250

Triggered via push December 7, 2024 02:47
Status Failure
Total duration 1m 45s
Artifacts

unit-test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
tests/index.test.ts > esm shims: tests/utils.ts#L65
Error: Snapshot `esm shims 1` mismatched - Expected + Received @@ -2,11 +2,11 @@ ```js import path from "node:path"; import { fileURLToPath } from "node:url"; - //#region ../../../assets/esm-shims.js + //#region ../../../esm-shims.js const getFilename = () => fileURLToPath(import.meta.url); const getDirname = () => path.dirname(getFilename()); const __dirname = /* @__PURE__ */ getDirname(); const __filename = /* @__PURE__ */ getFilename(); ❯ Module.testBuild tests/utils.ts:65:3 ❯ tests/index.test.ts:43:3
test (ubuntu-latest, 18)
Process completed with exit code 1.
tests/index.test.ts > esm shims: tests/utils.ts#L65
Error: Snapshot `esm shims 1` mismatched - Expected + Received @@ -2,11 +2,11 @@ ```js import path from "node:path"; import { fileURLToPath } from "node:url"; - //#region ../../../assets/esm-shims.js + //#region ../../../esm-shims.js const getFilename = () => fileURLToPath(import.meta.url); const getDirname = () => path.dirname(getFilename()); const __dirname = /* @__PURE__ */ getDirname(); const __filename = /* @__PURE__ */ getFilename(); ❯ Module.testBuild tests/utils.ts:65:3 ❯ tests/index.test.ts:43:3
test (ubuntu-latest, 20)
Process completed with exit code 1.
tests/index.test.ts > esm shims: tests/utils.ts#L65
Error: Snapshot `esm shims 1` mismatched - Expected + Received @@ -2,11 +2,11 @@ ```js import path from "node:path"; import { fileURLToPath } from "node:url"; - //#region ../../../assets/esm-shims.js + //#region ../../../esm-shims.js const getFilename = () => fileURLToPath(import.meta.url); const getDirname = () => path.dirname(getFilename()); const __dirname = /* @__PURE__ */ getDirname(); const __filename = /* @__PURE__ */ getFilename(); ❯ Module.testBuild tests/utils.ts:65:3 ❯ tests/index.test.ts:43:3
tests/index.test.ts > entry structure: tests/utils.ts#L65
Error: Snapshot `entry structure 1` mismatched - Expected + Received ## index.mjs ```js ``` - ## utils/index.mjs + ## utils\index.mjs ```js ``` ❯ Module.testBuild tests/utils.ts:65:3 ❯ tests/index.test.ts:69:3
test (windows-latest, 18)
Process completed with exit code 1.
tests/index.test.ts > esm shims: tests/utils.ts#L65
Error: Snapshot `esm shims 1` mismatched - Expected + Received @@ -2,11 +2,11 @@ ```js import path from "node:path"; import { fileURLToPath } from "node:url"; - //#region ../../../assets/esm-shims.js + //#region ../../../esm-shims.js const getFilename = () => fileURLToPath(import.meta.url); const getDirname = () => path.dirname(getFilename()); const __dirname = /* @__PURE__ */ getDirname(); const __filename = /* @__PURE__ */ getFilename(); ❯ Module.testBuild tests/utils.ts:65:3 ❯ tests/index.test.ts:43:3
tests/index.test.ts > entry structure: tests/utils.ts#L65
Error: Snapshot `entry structure 1` mismatched - Expected + Received ## index.mjs ```js ``` - ## utils/index.mjs + ## utils\index.mjs ```js ``` ❯ Module.testBuild tests/utils.ts:65:3 ❯ tests/index.test.ts:69:3
test (windows-latest, 20)
Process completed with exit code 1.
test (ubuntu-latest, 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (ubuntu-latest, 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636