Dependencies: Upgrade webpack and deduplicate #113955
unit-test.yml
on: pull_request
Compute previous WordPress version
3s
Build JavaScript assets for PHP unit tests
5m 13s
PHP coding standards
25s
Mobile
4m 50s
Matrix: unit-js-date
Matrix: unit-js
Matrix: test-php
PHP
0s
Annotations
24 errors and 10 warnings
JavaScript (Node.js 22) 3/4:
packages/readable-js-assets-webpack-plugin/test/build.js#L44
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `ReadableJsAssetsWebpackPlugin should produce the expected output: Asset file view.js should match snapshot 1`
- Snapshot - 1
+ Received + 0
@@ -1,7 +1,6 @@
/******/ (() => { // webpackBootstrap
- var __webpack_exports__ = {};
function notMinified() {
// eslint-disable-next-line no-console
console.log( 'hello' );
}
notMinified();
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/readable-js-assets-webpack-plugin/test/build.js:44:8)
at Array.forEach (<anonymous>)
at forEach (/home/runner/work/gutenberg/gutenberg/packages/readable-js-assets-webpack-plugin/test/build.js:41:16)
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/webpack.js:168:8
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/HookWebpackError.js:67:2
at Hook.eval [as callAsync] (eval at create (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/Hook.js:18:14)
at Cache.shutdown (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Cache.js:154:23)
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:1377:15
at Hook.eval [as callAsync] (eval at create (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/Hook.js:18:14)
at Compiler.close (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:1370:23)
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/webpack.js:167:16
at finalCallback (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:498:32)
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:576:17
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/HookWebpackError.js:67:2
at Hook.eval [as callAsync] (eval at create (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/Hook.js:18:14)
at Cache.storeBuildDependencies (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Cache.js:126:37)
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:572:19
at Hook.eval [as callAsync] (eval at create (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/Hook.js:18:14)
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:568:23
at Compiler.emitRecords (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:1044:4)
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:558:11
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:1007:14
at _next0 (eval at create (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:16:1)
at eval (eval at create (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:26:1)
|
JavaScript (Node.js 22) 3/4
Process completed with exit code 1.
|
JavaScript (Node.js 22) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`combine-assets\` should produce expected output: Asset file 'assets.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('fileA.js' => array('dependencies' => array('lodash', 'wp-blob'), 'version' => 'cbe985cf6e1a25d848e5'), 'fileB.js' => array('dependencies' => array('wp-token-list'), 'version' => '7f3970305cf0aecb54ab'));
+ <?php return array('fileA.js' => array('dependencies' => array('lodash', 'wp-blob'), 'version' => 'df0d72d5067229092ee7'), 'fileB.js' => array('dependencies' => array('wp-token-list'), 'version' => 'cdce720152e1086df4b1'));
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 22) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`cyclic-dependency-graph\` should produce expected output: Asset file 'main.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('wp-interactivity'), 'version' => '79a1af3afac581f52492');
+ <?php return array('dependencies' => array('wp-interactivity'), 'version' => 'f7deb34cbd678c7bc209');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 22) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`cyclic-dynamic-dependency-graph\` should produce expected output: Asset file 'main.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('wp-interactivity'), 'version' => 'ac0e2f1bcd3a6a0e7aff');
+ <?php return array('dependencies' => array('wp-interactivity'), 'version' => '162f4d352c99e6c37be1');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 22) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`dynamic-import\` should produce expected output: Asset file 'main.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('wp-blob'), 'version' => 'c0e8a6f22065ea096606');
+ <?php return array('dependencies' => array('wp-blob'), 'version' => '29070464c1c503708675');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 22) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`function-output-filename\` should produce expected output: Asset file 'chunk--main--main.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => 'fc2d750fc9e08c5749db');
+ <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => '4144bc368a592d2a98ec');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 22) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`has-extension-suffix\` should produce expected output: Asset file 'index.min.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => 'c3f17b34fdd974d57d0f');
+ <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => '7ac8c3d7041a5392f6d2');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 22) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`module-renames\` should produce expected output: Asset file 'main.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('renamed--@my/module', 'renamed--other-module'), 'version' => '34854902f36ec8e176d6');
+ <?php return array('dependencies' => array('renamed--@my/module', 'renamed--other-module'), 'version' => '56d493f5d34e639f999e');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 22) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`no-deps\` should produce expected output: Asset file 'main.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array(), 'version' => '143ed23d4b8be5611fcb');
+ <?php return array('dependencies' => array(), 'version' => 'b922a4320dd8b7a352f4');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 22) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`option-function-output-filename\` should produce expected output: Asset file 'chunk--main--main.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => 'fc2d750fc9e08c5749db');
+ <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => '4144bc368a592d2a98ec');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 22) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`option-output-filename\` should produce expected output: Asset file 'main-foo.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => 'fc2d750fc9e08c5749db');
+ <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => '4144bc368a592d2a98ec');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 20) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`combine-assets\` should produce expected output: Asset file 'assets.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('fileA.js' => array('dependencies' => array('lodash', 'wp-blob'), 'version' => 'cbe985cf6e1a25d848e5'), 'fileB.js' => array('dependencies' => array('wp-token-list'), 'version' => '7f3970305cf0aecb54ab'));
+ <?php return array('fileA.js' => array('dependencies' => array('lodash', 'wp-blob'), 'version' => 'df0d72d5067229092ee7'), 'fileB.js' => array('dependencies' => array('wp-token-list'), 'version' => 'cdce720152e1086df4b1'));
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 20) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`cyclic-dependency-graph\` should produce expected output: Asset file 'main.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('wp-interactivity'), 'version' => '79a1af3afac581f52492');
+ <?php return array('dependencies' => array('wp-interactivity'), 'version' => 'f7deb34cbd678c7bc209');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 20) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`cyclic-dynamic-dependency-graph\` should produce expected output: Asset file 'main.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('wp-interactivity'), 'version' => 'ac0e2f1bcd3a6a0e7aff');
+ <?php return array('dependencies' => array('wp-interactivity'), 'version' => '162f4d352c99e6c37be1');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 20) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`dynamic-import\` should produce expected output: Asset file 'main.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('wp-blob'), 'version' => 'c0e8a6f22065ea096606');
+ <?php return array('dependencies' => array('wp-blob'), 'version' => '29070464c1c503708675');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 20) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`function-output-filename\` should produce expected output: Asset file 'chunk--main--main.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => 'fc2d750fc9e08c5749db');
+ <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => '4144bc368a592d2a98ec');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 20) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`has-extension-suffix\` should produce expected output: Asset file 'index.min.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => 'c3f17b34fdd974d57d0f');
+ <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => '7ac8c3d7041a5392f6d2');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 20) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`module-renames\` should produce expected output: Asset file 'main.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('renamed--@my/module', 'renamed--other-module'), 'version' => '34854902f36ec8e176d6');
+ <?php return array('dependencies' => array('renamed--@my/module', 'renamed--other-module'), 'version' => '56d493f5d34e639f999e');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 20) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`no-deps\` should produce expected output: Asset file 'main.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array(), 'version' => '143ed23d4b8be5611fcb');
+ <?php return array('dependencies' => array(), 'version' => 'b922a4320dd8b7a352f4');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 20) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`option-function-output-filename\` should produce expected output: Asset file 'chunk--main--main.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => 'fc2d750fc9e08c5749db');
+ <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => '4144bc368a592d2a98ec');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 20) 4/4:
packages/dependency-extraction-webpack-plugin/test/build.js#L103
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `DependencyExtractionWebpackPlugin scripts Webpack \`option-output-filename\` should produce expected output: Asset file 'main-foo.asset.php' should match snapshot 1`
- Snapshot - 1
+ Received + 1
- <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => 'fc2d750fc9e08c5749db');
+ <?php return array('dependencies' => array('lodash', 'wp-blob'), 'version' => '4144bc368a592d2a98ec');
↵
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:103:8)
at Array.forEach (<anonymous>)
at Object.forEach (/home/runner/work/gutenberg/gutenberg/packages/dependency-extraction-webpack-plugin/test/build.js:98:16)
|
JavaScript (Node.js 20) 3/4:
packages/readable-js-assets-webpack-plugin/test/build.js#L44
Error: expect(received).toMatchSnapshot(hint)
Snapshot name: `ReadableJsAssetsWebpackPlugin should produce the expected output: Asset file view.js should match snapshot 1`
- Snapshot - 1
+ Received + 0
@@ -1,7 +1,6 @@
/******/ (() => { // webpackBootstrap
- var __webpack_exports__ = {};
function notMinified() {
// eslint-disable-next-line no-console
console.log( 'hello' );
}
notMinified();
at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/readable-js-assets-webpack-plugin/test/build.js:44:8)
at Array.forEach (<anonymous>)
at forEach (/home/runner/work/gutenberg/gutenberg/packages/readable-js-assets-webpack-plugin/test/build.js:41:16)
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/webpack.js:168:8
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/HookWebpackError.js:67:2
at Hook.eval [as callAsync] (eval at create (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/Hook.js:18:14)
at Cache.shutdown (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Cache.js:154:23)
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:1377:15
at Hook.eval [as callAsync] (eval at create (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/Hook.js:18:14)
at Compiler.close (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:1370:23)
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/webpack.js:167:16
at finalCallback (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:498:32)
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:576:17
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/HookWebpackError.js:67:2
at Hook.eval [as callAsync] (eval at create (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/Hook.js:18:14)
at Cache.storeBuildDependencies (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Cache.js:126:37)
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:572:19
at Hook.eval [as callAsync] (eval at create (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/Hook.js:18:14)
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:568:23
at Compiler.emitRecords (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:1044:4)
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:558:11
at /home/runner/work/gutenberg/gutenberg/node_modules/webpack/lib/Compiler.js:1007:14
at _next0 (eval at create (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:16:1)
at eval (eval at create (/home/runner/work/gutenberg/gutenberg/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:26:1)
|
JavaScript (Node.js 20) 3/4
Process completed with exit code 1.
|
JavaScript Date Tests (Node.js 22)
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript Date Tests (Node.js 20)
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build-assets
Expired
|
9.75 MB |
|