Skip to content

feat: add declarationExt option #1014

feat: add declarationExt option

feat: add declarationExt option #1014

Triggered via pull request October 5, 2024 12:17
Status Failure
Total duration 1m 50s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
test/index.test.ts > mkdist > mkdist (declarationExt: d.ts): test/index.test.ts#L361
AssertionError: expected [ …(37) ] to deeply equal [ …(30) ] - Expected + Received Array [ "/home/runner/work/mkdist/mkdist/test/fixture/dist/README.md", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar.d.ts", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar/esm.d.ts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar/esm.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar/index.d.ts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar/index.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/blank.vue", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/index.d.ts", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/index.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/js.vue", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/js.vue.d.ts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/jsx.d.ts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/jsx.mjs", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/script-multi-block.vue", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/script-setup-ts.vue", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/ts.vue", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/ts.vue.d.ts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/tsx.d.ts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/tsx.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/demo.css", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/dir-export.d.ts", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/dir-export.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/foo.d.ts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/foo.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/index.d.ts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/index.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/nested.css", "/home/runner/work/mkdist/mkdist/test/fixture/dist/star/index.d.ts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/star/index.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/star/other.d.ts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/star/other.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/ts/test1.d.ts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/ts/test1.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/ts/test2.d.ts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/ts/test2.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/types.d.ts", ] ❯ test/index.test.ts:361:35
test/index.test.ts > mkdist > mkdist (declarationExt: d.mts): test/index.test.ts#L361
AssertionError: expected [ …(37) ] to deeply equal [ …(30) ] - Expected + Received Array [ "/home/runner/work/mkdist/mkdist/test/fixture/dist/README.md", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar.d.mts", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar/esm.d.mts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar/esm.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar/index.d.mts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar/index.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/blank.vue", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/index.d.mts", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/index.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/js.vue", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/js.vue.d.mts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/jsx.d.mts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/jsx.mjs", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/script-multi-block.vue", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/script-setup-ts.vue", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/ts.vue", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/ts.vue.d.mts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/tsx.d.mts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/tsx.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/demo.css", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/dir-export.d.mts", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/dir-export.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/foo.d.mts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/foo.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/index.d.mts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/index.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/nested.css", "/home/runner/work/mkdist/mkdist/test/fixture/dist/star/index.d.mts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/star/index.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/star/other.d.mts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/star/other.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/ts/test1.d.mts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/ts/test1.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/ts/test2.d.mts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/ts/test2.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/types.d.mts", ] ❯ test/index.test.ts:361:35
test/index.test.ts > mkdist > mkdist (declarationExt: d.cts): test/index.test.ts#L361
AssertionError: expected [ …(37) ] to deeply equal [ …(30) ] - Expected + Received Array [ "/home/runner/work/mkdist/mkdist/test/fixture/dist/README.md", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar.d.cts", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar/esm.d.cts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar/esm.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar/index.d.cts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/bar/index.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/blank.vue", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/index.d.cts", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/index.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/js.vue", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/js.vue.d.cts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/jsx.d.cts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/jsx.mjs", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/script-multi-block.vue", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/script-setup-ts.vue", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/ts.vue", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/ts.vue.d.cts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/tsx.d.cts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/components/tsx.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/demo.css", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/dir-export.d.cts", + "/home/runner/work/mkdist/mkdist/test/fixture/dist/dir-export.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/foo.d.cts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/foo.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/index.d.cts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/index.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/nested.css", "/home/runner/work/mkdist/mkdist/test/fixture/dist/star/index.d.cts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/star/index.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/star/other.d.cts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/star/other.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/ts/test1.d.cts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/ts/test1.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/ts/test2.d.cts", "/home/runner/work/mkdist/mkdist/test/fixture/dist/ts/test2.mjs", "/home/runner/work/mkdist/mkdist/test/fixture/dist/types.d.cts", ] ❯ test/index.test.ts:361:35
ci
Process completed with exit code 1.