Skip to content

Add assertion to test scripted examples #312

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

speedytwenty
Copy link
Collaborator

The scripts that generate the cli-table3 docs include "testing" routines which never actually get tested. It's unclear whether this was lost or dropped somewhere along the way.

Here I've added a simple routine that tests the tables generated with the defined expectations.

It would be ideal if these "tests" were induced with the jest tests, but as is they are only induced within the "print-examples" and "update-docs" scripts.

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.

1 participant