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

The tests #79

Open
tunnckoCore opened this issue Sep 10, 2017 · 2 comments
Open

The tests #79

tunnckoCore opened this issue Sep 10, 2017 · 2 comments
Assignees

Comments

@tunnckoCore
Copy link

tunnckoCore commented Sep 10, 2017

Heya there! 👋

I'm deeply digging into tests, because i'm experimenting to implement virtual dom diffing, where nanomorph guided me at most. Diffing vdom, seems pretty smaller and easy than that here.

I believe my implementation looks good, but it's just a toy for the moment. All nanomorph tests pass, except the last one for nested without id.

But while digging into test/diff.js i found one test which have opening tag, but the closing tag is missing a slash / - see it here test/diff.js#L357-L365. Is it intentional or is typo?

Also, the title isn't very clear to me. What should be the result? I think it should be <section><div></div><section>, but the title says me that it expect to be something like <section><div>'hello'</div><section> which not make sense to me to be correct result?

One more thing is to include the test suite (that file) in the npm package, so others can tests against it.

@yoshuawuyts
Copy link
Member

yoshuawuyts commented Sep 14, 2017 via email

@tunnckoCore
Copy link
Author

tunnckoCore commented Jun 23, 2018

Oooh, it's still here 😆 i'll get that, assign please ;)

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

No branches or pull requests

2 participants