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

Refactor dev warning tests to use can-test-helpers #307

Merged
merged 2 commits into from
Sep 21, 2017

Conversation

bmomberger-bitovi
Copy link
Contributor

Closes #302

Copy link
Contributor

@justinbmeyer justinbmeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets talk about can-test-helpers.

@@ -18,6 +18,7 @@ var parser = require('can-view-parser');
var nodeLists = require('can-view-nodelist');
var canBatch = require('can-event/batch/batch');
var makeDocument = require('can-vdom/make-document/make-document');
var devHelpers = require('can-test-helpers/lib/dev');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why have this in a module? I think we should just put everything on the package.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which package? In can-util alongside js/dev/ or in can-stache? If you mean can-stache, we really need the test helpers to be available elsewhere as we have warnings and errors that are tested elsewhere in the app.

@bmomberger-bitovi bmomberger-bitovi dismissed justinbmeyer’s stale review September 20, 2017 22:22

Addressed the concerns. Please re-review.

@bmomberger-bitovi bmomberger-bitovi merged commit b2de39a into master Sep 21, 2017
@bmomberger-bitovi bmomberger-bitovi deleted the 302-improve-warning-tests branch September 21, 2017 17:17
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.

Make dev.warn tests resilient to new warnings
3 participants