rspack-ecosystem-ci-from-commit #1401
Annotations
10 errors and 1 warning
Run pnpm tsx ecosystem-ci.ts run-suites rslib:
workspace/rslib/rslib/tests/integration/alias/index.test.ts#L13
Error: Snapshot `source.alias 2` mismatched
- Expected
+ Received
""use strict";
var __webpack_exports__ = {};
const a = 'hello world';
console.info(a);
var __webpack_export_target__ = exports;
- for(var i in __webpack_exports__)__webpack_export_target__[i] = __webpack_exports__[i];
+ for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
value: true
});
"
❯ integration/alias/index.test.ts:13:23
|
Run pnpm tsx ecosystem-ci.ts run-suites rslib:
workspace/rslib/rslib/tests/integration/auto-extension/index.test.ts#L42
Error: Snapshot `should respect output.filename.js to override builtin logic > type is commonjs 1` mismatched
Expected: ""<ROOT>/tests/integration/auto-extension/type-commonjs/config-override/dist/cjs/index.d08e1bb3.js""
Received: ""<ROOT>/tests/integration/auto-extension/type-commonjs/config-override/dist/cjs/index.15d386b8.js""
❯ integration/auto-extension/index.test.ts:42:28
|
Run pnpm tsx ecosystem-ci.ts run-suites rslib:
workspace/rslib/rslib/tests/integration/bundle-false/index.test.ts#L109
Error: Snapshot `svgr in bundleless 2` mismatched
- Expected
+ Received
@@ -59,10 +59,10 @@
})
});
/* ESM default export */ const logoreact = SvgLogo;
/* ESM default export */ const src_rslib_entry_ = logoreact;
var __webpack_export_target__ = exports;
- for(var i in __webpack_exports__)__webpack_export_target__[i] = __webpack_exports__[i];
+ for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
value: true
});
"
❯ integration/bundle-false/index.test.ts:109:42
|
Run pnpm tsx ecosystem-ci.ts run-suites rslib:
workspace/rslib/rslib/tests/integration/extension-alias/index.test.ts#L8
Error: Snapshot `resolve.extensionAlias should work 1` mismatched
- Expected
+ Received
@@ -4,10 +4,10 @@
const foo = 'foo';
// Relative import paths need explicit file extensions in ECMAScript imports
// when '--moduleResolution' is 'node16' or 'nodenext'.
console.log(foo + bar);
var __webpack_export_target__ = exports;
- for(var i in __webpack_exports__)__webpack_export_target__[i] = __webpack_exports__[i];
+ for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
value: true
});
"
❯ integration/extension-alias/index.test.ts:8:23
|
Run pnpm tsx ecosystem-ci.ts run-suites rslib:
workspace/rslib/rslib/tests/integration/shims/index.test.ts#L17
AssertionError: expected 'import { fileURLToPath as __webpack_f…' to contain 'import { fileURLToPath as __webpack_f…'
- Expected
+ Received
- import { fileURLToPath as __webpack_fileURLToPath__ } from "url";
+ import { fileURLToPath as __webpack_fileURLToPath__ } from "node:url";
+ import { dirname as __webpack_dirname__ } from "node:path";
+ var src_rslib_entry_dirname = __webpack_dirname__(__webpack_fileURLToPath__(import.meta.url));
+ var src_rslib_entry_filename = __webpack_fileURLToPath__(import.meta.url);
+ const d1 = src_rslib_entry_dirname;
+ const f1 = src_rslib_entry_filename;
+ /* ESM default export */ const src_rslib_entry_ = ()=>{
+ const d2 = src_rslib_entry_dirname;
+ const f2 = src_rslib_entry_filename;
+ const importMetaUrl = import.meta.url;
+ return {
+ d1,
+ d2,
+ f1,
+ f2,
+ importMetaUrl
+ };
+ };
+ export { src_rslib_entry_ as default };
+
❯ integration/shims/index.test.ts:17:28
|
Run pnpm tsx ecosystem-ci.ts run-suites rslib:
workspace/rslib/rslib/tests/integration/shims/index.test.ts#L30
AssertionError: expected 'import { fileURLToPath as __webpack_f…' to contain 'import { fileURLToPath as __webpack_f…'
- Expected
+ Received
- import { fileURLToPath as __webpack_fileURLToPath__ } from "url";
+ import { fileURLToPath as __webpack_fileURLToPath__ } from "node:url";
+ import { dirname as __webpack_dirname__ } from "node:path";
+ var src_rslib_entry_dirname = __webpack_dirname__(__webpack_fileURLToPath__(import.meta.url));
+ var src_rslib_entry_filename = __webpack_fileURLToPath__(import.meta.url);
+ const d1 = src_rslib_entry_dirname;
+ const f1 = src_rslib_entry_filename;
+ /* ESM default export */ const src_rslib_entry_ = ()=>{
+ const d2 = src_rslib_entry_dirname;
+ const f2 = src_rslib_entry_filename;
+ const importMetaUrl = import.meta.url;
+ return {
+ d1,
+ d2,
+ f1,
+ f2,
+ importMetaUrl
+ };
+ };
+ export { src_rslib_entry_ as default };
+
❯ integration/shims/index.test.ts:30:28
|
Run pnpm tsx ecosystem-ci.ts run-suites rslib:
workspace/rslib/rslib/tests/integration/alias/index.test.ts#L13
Error: Snapshot `source.alias 2` mismatched
- Expected
+ Received
""use strict";
var __webpack_exports__ = {};
const a = 'hello world';
console.info(a);
var __webpack_export_target__ = exports;
- for(var i in __webpack_exports__)__webpack_export_target__[i] = __webpack_exports__[i];
+ for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
value: true
});
"
❯ integration/alias/index.test.ts:13:23
|
Run pnpm tsx ecosystem-ci.ts run-suites rslib:
workspace/rslib/rslib/tests/integration/auto-extension/index.test.ts#L42
Error: Snapshot `should respect output.filename.js to override builtin logic > type is commonjs 1` mismatched
Expected: ""<ROOT>/tests/integration/auto-extension/type-commonjs/config-override/dist/cjs/index.d08e1bb3.js""
Received: ""<ROOT>/tests/integration/auto-extension/type-commonjs/config-override/dist/cjs/index.15d386b8.js""
❯ integration/auto-extension/index.test.ts:42:28
|
Run pnpm tsx ecosystem-ci.ts run-suites rslib:
workspace/rslib/rslib/tests/integration/bundle-false/index.test.ts#L109
Error: Snapshot `svgr in bundleless 2` mismatched
- Expected
+ Received
@@ -59,10 +59,10 @@
})
});
/* ESM default export */ const logoreact = SvgLogo;
/* ESM default export */ const src_rslib_entry_ = logoreact;
var __webpack_export_target__ = exports;
- for(var i in __webpack_exports__)__webpack_export_target__[i] = __webpack_exports__[i];
+ for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
value: true
});
"
❯ integration/bundle-false/index.test.ts:109:42
|
Run pnpm tsx ecosystem-ci.ts run-suites rslib:
workspace/rslib/rslib/tests/integration/extension-alias/index.test.ts#L8
Error: Snapshot `resolve.extensionAlias should work 1` mismatched
- Expected
+ Received
@@ -4,10 +4,10 @@
const foo = 'foo';
// Relative import paths need explicit file extensions in ECMAScript imports
// when '--moduleResolution' is 'node16' or 'nodenext'.
console.log(foo + bar);
var __webpack_export_target__ = exports;
- for(var i in __webpack_exports__)__webpack_export_target__[i] = __webpack_exports__[i];
+ for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
value: true
});
"
❯ integration/extension-alias/index.test.ts:8:23
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading