Skip to content
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 option to test `console` blocks as well #16

Open
ljharb opened this issue Feb 4, 2020 · 0 comments
Open

add option to test `console` blocks as well #16

ljharb opened this issue Feb 4, 2020 · 0 comments

Comments

@ljharb
Copy link
Collaborator

@ljharb ljharb commented Feb 4, 2020

It would be awesome if a console block like this:

> some-command
some
  output
here!

would cause some-command to be ran, assert that it exits 0, and that the combined stdout/stderr output matches the command :-D

I'm thinking evalmd --eval=js,console (where --eval defaults to js)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.