-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add tests to insight parser #30
Comments
Working on this now 👍 |
Moving Games parsing to a separate file called |
@lizTheDeveloper Got 'em all |
Render returns a properly formatted Insight, but sometimes it is different from the original insight in terms of whitespace... |
I've reworked the Insight object will |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create tests for the Insight class in
lib/insight.js
parse
method with several fixtures, at least 10 real insights from different areas.links
properties are properly parsed as a list, with atype
.toJSON
method can properly create or update an insight from our mongoose modelsrender
method can reproduce what wasparse
d, even if there are unsupported yaml fields (but not unsupported sections, yet)The text was updated successfully, but these errors were encountered: