Skip to content

Add and organise tests for code blocks - #1143

Merged
nbriannl merged 1 commit into
MarkBind:masterfrom
nbriannl:make-tests
May 5, 2020
Merged

Add and organise tests for code blocks#1143
nbriannl merged 1 commit into
MarkBind:masterfrom
nbriannl:make-tests

Conversation

@nbriannl

@nbriannlnbriannl commented Mar 25, 2020

Copy link
Copy Markdown
Contributor

What is the purpose of this pull request? (put "X" next to an item, remove the rest)

• [ ] Documentation update
• [ ] Bug fix
• [ ] New feature
• [ ] Enhancement to an existing feature
• [X] Other, please explain: Testing

What is the rationale for this request?

Added more tests than will more comprehensively cover the behaviors of components I've worked on. Particular Boxes and Code Block, since I've done PRs #1034, #1137, MarkBind/vue-strap#129

What changes did you make? (Give an overview)

Is there anything you'd like reviewers to focus on?

Not sure other than naming of tests and any coverage I've left out.

Testing instructions:

Check and run tests.

Proposed commit message: (wrap lines at 72 characters)

Add and organise tests for code blocks

@nbriannlnbriannl changed the title [WIP] Add unit tests for markdown-it[WIP] Add tests for markdown-itMar 25, 2020
openorclose
openorclose previously requested changes Apr 2, 2020
Comment threadtest/unit/markdown-it/index.test.js Outdated
Comment threadtest/unit/markdown-it/index.test.js Outdated
@nbriannl
nbriannl marked this pull request as draft April 29, 2020 05:43
@nbriannlnbriannl reopened this Apr 29, 2020
@nbriannl
nbriannlforce-pushed the make-tests branch 3 times, most recently from 87e2af3 to 6a82ddaCompareApril 29, 2020 06:51
@nbriannlnbriannl changed the title [WIP] Add tests for markdown-it[WIP] Add testsApr 29, 2020
@nbriannlnbriannl changed the title [WIP] Add testsAdd and organise tests for boxes and code blocksApr 29, 2020
@nbriannl
nbriannl marked this pull request as ready for review April 29, 2020 08:49
@@ -0,0 +1,15 @@
**Test: Boxes**

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Definitely see the purpose of the code block tests, what does this cover that componentParserTest misses though?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Ah, does componentParserTest cover the rendering of markdown inside components?

I'll go check later.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Ah yeah, I found that it covered. My bad 👍

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ok, the code blocks tests looks good 👍

@nbriannl
nbriannl requested a review from ang-zeyuMay 2, 2020 05:39
@nbriannlnbriannl changed the title Add and organise tests for boxes and code blocksAdd and organise tests for code blocksMay 2, 2020
@nbriannl
nbriannl dismissed openorclose’s stale reviewMay 4, 2020 08:11

Review during WIP

@nbriannl
nbriannl merged commit 99b6252 into MarkBind:masterMay 5, 2020
Sign up for freeto 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

@nbriannl@ang-zeyu@openorclose