Skip to content

Bump babel-plugin-ember-template-compilation from 2.2.2 to 2.2.5 #84

Bump babel-plugin-ember-template-compilation from 2.2.2 to 2.2.5

Bump babel-plugin-ember-template-compilation from 2.2.2 to 2.2.5 #84

Triggered via pull request July 8, 2024 09:23
Status Failure
Total duration 38s
Artifacts

node.js.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
tests/babel-plugin.test.js > convert template with hot reload helpers > should convert gts correctly: tests/babel-plugin.test.js#L180
Error: Snapshot `convert template with hot reload helpers > should convert gts correctly 1` mismatched - Expected + Received @@ -16,20 +16,20 @@ Other = _init_Other(this, Other); SomeComponent = _init_SomeComponent(this, SomeComponent); myhelper = _init_myhelper(this, myhelper); }() const T = setComponentTemplate(precompileTemplate("\n <template__imports__.Other />\n ", { + strictMode: true, scope: () => ({ template__imports__ - }), - strictMode: true + }) }), templateOnly()); export default setComponentTemplate(precompileTemplate("\n {{(template__imports__.myhelper)}}\n {{component template__imports__.SomeComponent}}\n <template__imports__.SomeComponent />\n <template__imports__.NamedComponent />\n ", { + strictMode: true, scope: () => ({ template__imports__ - }), - strictMode: true + }) }), templateOnly()); if (import.meta.hot) { import.meta.hot.accept('my-components', module => template__imports__.NamedComponent = module['NamedComponent']); import.meta.hot.accept('my-components', module => template__imports__.Other = module['Other']); import.meta.hot.accept('my-components', module => template__imports__.SomeComponent = module['default']); ❯ tests/babel-plugin.test.js:180:25
build (18.x)
Process completed with exit code 1.
build (18.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/