Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update setupTest function imports #1889

Merged
merged 1 commit into from
Jan 5, 2023
Merged

Update setupTest function imports #1889

merged 1 commit into from
Jan 5, 2023

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