Skip to content

Add variables property to template frontmatter#76

Open
ezhikov wants to merge 1 commit into
jondot:masterfrom
ezhikov:variables
Open

Add variables property to template frontmatter#76
ezhikov wants to merge 1 commit into
jondot:masterfrom
ezhikov:variables

Conversation

@ezhikov

@ezhikov ezhikov commented Oct 1, 2018

Copy link
Copy Markdown

Hello.

So, my proposed solution to #61 is to add property variables to frontmatter. Other arguments have priority over variables. One thing that I'm uncertain with, if variables should be calculated depending on other variables.

If my solution satisfies you, I'll add relative section to docs and tests if you'llguide me on how to properly test this feature.

@epszaw epszaw left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think there are must be some tests for that functionality 🤔

@jondot

jondot commented Dec 6, 2018

Copy link
Copy Markdown
Owner

@ezhikov any possibility to add tests? LMK if you need help with understanding how testing works here

@ezhikov

ezhikov commented Dec 6, 2018

Copy link
Copy Markdown
Author

I think I do need guidance with tests.

@epszaw

epszaw commented Dec 7, 2018

Copy link
Copy Markdown

@ezhikov it's very simple. Look at other test a try to do the same.
If you don't have any experience with unit testing and test tools, I highly recommend to read jest docs. This framework provide the most of important testing conceptions and you can learn really a lot of cool things 👍

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.

3 participants