-
Notifications
You must be signed in to change notification settings - Fork 47
Unit tests #2
Comments
Any thought about how those would be written? Using jest or more traditional mocha-style tests? |
Roundtrip tests would be useful. To answer my own question, jest seems like a fine choice. Here is a small example:
Note that even that first test fails round-tripping:
This may tie into some of the whitespace issues mentioned in accordproject/cicero-ui#43 |
Hacktoberfest:This issue can provide for multiple pull requests. |
@irmerk I would like to work on it. Does the tests should be only on the JSON <-> MD conversion? What all scenarios should we consider for the testing, like all the buttons in the toolbar? |
@codingdefined this would be great to pick up! Just keep aware of the changes we're making in PRs #114 and #117 over the next few days. We're using the |
@codingdefined what is the status on this issue? |
@irmerk Created the pull request for the same. |
As mentioned in #134, this issue can provide for many PRs, so I will open this up. |
Please note the conversation in |
Closing for accordproject/web-components#14 |
We need unit tests for the JSON <-> MD conversion
The text was updated successfully, but these errors were encountered: