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

failing test for #207 #208

Closed
wants to merge 2 commits into from
Closed

failing test for #207 #208

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 29, 2020

No description provided.

@@ -1211,7 +1221,7 @@ QUnit.module('ember-template-recast', function() {

QUnit.test('mutations retain custom whitespace formatting', function(assert) {
let template = stripIndent`
<Foo
Copy link
Member

Choose a reason for hiding this comment

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

Please revert this change, this whitespace is intentional

@@ -22,6 +22,16 @@ QUnit.module('ember-template-recast', function() {
assert.equal(print(ast), `<img src="{{this.something}}">`);
});

QUnit.test('test descriptions with carets pass', function(assert) {
let template = `it('<' function() {
Copy link
Member

Choose a reason for hiding this comment

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

I don't really understand what this is testing. This project does not support parsing javascript files...

Copy link
Author

Choose a reason for hiding this comment

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

@rwjblue I created a test here as it was the simplest way to demonstrate the error I saw while running the angle brackets codemod on integration tests in my app. It looks like someone has posted an issue too: ember-codemods/ember-angle-brackets-codemod#240

Copy link
Author

Choose a reason for hiding this comment

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

#207 has my initial breakdown if that helps

@ghost ghost closed this Feb 11, 2020
This pull request was closed.
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