Closed dgrebb closed 7 months ago
This is a general refresh PR, which sets the project up for Node 20 support in a forthcoming BackstopJS release.
.eslintrc.js
ecmaVersion: 2020
eslint
eslint-disable
addon-test-support/index.js
ember-cli@^5.4.0
@ember-test-helpers@^3.2.0
"type": "commonjs"
package.json
ember install ember-backstop
ember generate acceptance-test home-test
import backstop from 'ember-backstop/test-support/backstop';
15: test('it renders the thing', async function (assert) { 16: await visit('/'); 17: await backstop(assert); 18: assert.dom('#ember-welcome-page-id-selector').exists(); 19: });
ember serve
ember backstop-remote
ember test
ember backstop-stop
@garris with the publish of backstopjs@6.3.0 to npm (and Docker), this is ready to go as well!
backstopjs@6.3.0
Please let me know if you have any questions.
Summary
This is a general refresh PR, which sets the project up for Node 20 support in a forthcoming BackstopJS release.
Details
.eslintrc.js
to useecmaVersion: 2020
eslint
formatting adjustments with the latest ruleseslint-disable
where necessaryaddon-test-support/index.js
export — this was not working withember-cli@^5.4.0
, or perhaps@ember-test-helpers@^3.2.0
"type": "commonjs"
inpackage.json
General Testing Performed
ember install ember-backstop
ember generate acceptance-test home-test
import backstop from 'ember-backstop/test-support/backstop';
ember serve
ember backstop-remote
ember test
ember backstop-stop