-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
Move tests to new test-app #1468
Conversation
ae81352
to
b9443ae
Compare
@@ -35,19 +38,6 @@ QUnit.done(function () { | |||
} | |||
}); | |||
|
|||
class TestLoader extends AbstractTestLoader { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
handled by ember-qunit these days
@@ -109,8 +99,8 @@ QUnit.assert.deprecationsInclude = function (expected) { | |||
}); | |||
}; | |||
|
|||
QUnit.start(); | |||
|
|||
if (typeof Testem !== 'undefined') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also handled by ember-qunit
e061c70
to
23aa201
Compare
…urce, and declares a peerDependency, we must use depMeta*injected
fb6af49
to
f84c442
Compare
"node": "14.* || 16.* || >= 18" | ||
}, | ||
"ember": { | ||
"edition": "octane" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is edition still a thing here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup
"webpack": "^5.78.0" | ||
}, | ||
"engines": { | ||
"node": "14.* || 16.* || >= 18" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wondering if we could drop 14 and 16..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could, but would me separate. During v2 conversion, node would cease to matter anyway
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Readme needs to be updated to reflect this change (right now says ember test
) as does CONTRIBUTING.md (or removed, there isn't much there that isn't in the Readme)
V2 addons don't have an integrated test setup atm, so a separate test app is how we test v2 addons.
Test-helpers isn't a v2 addon yet, but this'll greatly reduce the diff of that upcoming change.
This is a non-breaking change as it mostly focuses on using a new app for the tests instead of using the "dummy app"
For V2 Conversion
depending on how these PRs go will determine if we need to do a major or not.