Skip to content

Update setupTest function imports#1889

Merged
jenweber merged 1 commit intomasterfrom
jw-setuptest
Jan 5, 2023
Merged

Update setupTest function imports#1889
jenweber merged 1 commit intomasterfrom
jw-setuptest

Conversation

@jenweber
Copy link
Contributor

@jenweber jenweber commented Jan 4, 2023

Implementing RFC emberjs/rfcs#637 changed the import paths for setupTest functions (setupTest, setupRenderingTest, setupApplicationTest). This change is live - if someone has the latest ember version installed and runs ember g component my-component they will see this syntax at the top of the new tests:

import { module, test } from 'qunit';
import { setupRenderingTest } from 'my-app-name/tests/helpers';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';

This PR is a find-replace to reflect those changes.

@jenweber jenweber merged commit f7ed18e into master Jan 5, 2023
@jenweber jenweber deleted the jw-setuptest branch January 5, 2023 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants