chore(ci): add workflow for windows smoke tests #2
windows.yml
on: pull_request
smoke-test-windows
5m 3s
Annotations
7 errors
|
smoke-test-windows
Process completed with exit code 1.
|
|
src/__tests__/warnings/warnings.spec.ts > warnings > should emit a warning for double </template> tags in older API versions:
packages/@lwc/rollup-plugin/src/__tests__/warnings/warnings.spec.ts#L55
AssertionError: expected [ { code: 'PLUGIN_WARNING', …(7) } ] to deeply equal [ { code: 'PLUGIN_WARNING', …(7) } ]
- Expected
+ Received
@@ -1,14 +1,14 @@
[
{
"code": "PLUGIN_WARNING",
"frame": "</template>",
"hook": "transform",
- "id": "fixtures/test/test.html",
+ "id": "fixtures\\test\\test.html",
"loc": {
"column": 1,
- "file": "fixtures/test/test.html",
+ "file": "fixtures\\test\\test.html",
"line": 4,
},
"message": "LWC1148: Invalid HTML syntax: end-tag-without-matching-open-element. This will not be supported in future versions of LWC. For more information, please visit https://html.spec.whatwg.org/multipage/parsing.html#parse-error-end-tag-without-matching-open-element",
"plugin": "rollup-plugin-lwc-compiler",
"pluginCode": "LWC1148",
❯ src/__tests__/warnings/warnings.spec.ts:55:44
|
|
src/__tests__/rootDir/rootDir.spec.ts > rootDir > warns if an "input" object is passed and when "rootDir" is not set:
packages/@lwc/rollup-plugin/src/__tests__/rootDir/rootDir.spec.ts#L53
AssertionError: expected { …(4), [Symbol(augmented)]: true } to match object { message: StringMatching{…}, …(2) }
(1 matching property omitted from actual)
- Expected
+ Received
{
"code": "PLUGIN_WARNING",
- "message": StringMatching /The "rootDir" option should be explicitly set when passing "input" object to rollup\. The "rootDir" option is implicitly resolved to .*\/fixtures.$/,
+ "message": "[plugin rollup-plugin-lwc-compiler] The \"rootDir\" option should be explicitly set when passing \"input\" object to rollup. The \"rootDir\" option is implicitly resolved to D:\\a\\lwc\\lwc\\packages\\@lwc\\rollup-plugin\\src\\__tests__\\rootDir\\fixtures.",
"plugin": "rollup-plugin-lwc-compiler",
}
❯ src/__tests__/rootDir/rootDir.spec.ts:53:29
|
|
src/__tests__/rootDir/rootDir.spec.ts > rootDir > warns if an "input" array is passed and when "rootDir" is not set:
packages/@lwc/rollup-plugin/src/__tests__/rootDir/rootDir.spec.ts#L29
AssertionError: expected { …(4), [Symbol(augmented)]: true } to match object { message: StringMatching{…}, …(2) }
(1 matching property omitted from actual)
- Expected
+ Received
{
"code": "PLUGIN_WARNING",
- "message": StringMatching /The "rootDir" option should be explicitly set when passing an "input" array to rollup\. The "rootDir" option is implicitly resolved to .*\/fixtures.$/,
+ "message": "[plugin rollup-plugin-lwc-compiler] The \"rootDir\" option should be explicitly set when passing an \"input\" array to rollup. The \"rootDir\" option is implicitly resolved to D:\\a\\lwc\\lwc\\packages\\@lwc\\rollup-plugin\\src\\__tests__\\rootDir\\fixtures.",
"plugin": "rollup-plugin-lwc-compiler",
}
❯ src/__tests__/rootDir/rootDir.spec.ts:29:29
|
|
src/__tests__/resolver/resolver.spec.ts > resolver > should emit a warning when import stylesheet file is missing:
packages/@lwc/rollup-plugin/src/__tests__/resolver/resolver.spec.ts#L154
AssertionError: expected '[plugin rollup-plugin-lwc-compiler] T…' to match /…/stylesheet.css does not exist: Importing it as undefined.
- Expected:
/The imported CSS file .+\/stylesheet.css does not exist: Importing it as undefined./
+ Received:
"[plugin rollup-plugin-lwc-compiler] The imported CSS file D:\\a\\lwc\\lwc\\packages\\@lwc\\rollup-plugin\\src\\__tests__\\resolver\\fixtures\\missing-css\\stylesheet.css does not exist: Importing it as undefined. This behavior may be removed in a future version of LWC. Please avoid importing a CSS file that does not exist."
❯ src/__tests__/resolver/resolver.spec.ts:154:37
|
|
src/__tests__/resolve.modules.spec.ts > dir resolution > throw an error when there is no entry file:
packages/@lwc/module-resolver/src/__tests__/resolve.modules.spec.ts#L98
Error: Expected function to throw an error with message
Expected: "Invalid LWC configuration in "D:\a\lwc\lwc\packages\@lwc\module-resolver\src\__tests__\fixtures\errors\missing-dir-entry". Unable to find a valid entry point for "D:\a\lwc\lwc\packages\@lwc\module-resolver\src\__tests__\fixtures\errors\missing-dir-entry\modules\foo\bar\bar""
Received: "Invalid LWC configuration in "D:\a\lwc\lwc\packages\@lwc\module-resolver\src\__tests__\fixtures\errors\missing-dir-entry". Unable to find a valid entry point for "D:\a\lwc\lwc\packages\@lwc\module-resolver\src\__tests__\fixtures\errors\missing-dir-entry\modules\foo\bar/bar""
❯ src/__tests__/resolve.modules.spec.ts:98:57
|
|
src/__tests__/module-errors.spec.ts > resolution errors > throw when no lwc config is present in the path:
packages/@lwc/module-resolver/src/__tests__/module-errors.spec.ts#L17
Error: Expected function to throw an error with message
Expected: "Invalid LWC configuration in "/errors/non/existent/module.js". Unable to find any LWC configuration file"
Received: "Invalid LWC configuration in "D:\errors\non\existent\module.js". Unable to find any LWC configuration file"
❯ src/__tests__/module-errors.spec.ts:17:58
|