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

need example of running a test #1

Closed
lmj0011 opened this issue Feb 6, 2017 · 4 comments
Closed

need example of running a test #1

lmj0011 opened this issue Feb 6, 2017 · 4 comments

Comments

@lmj0011
Copy link
Contributor

lmj0011 commented Feb 6, 2017

I see the examples, but what would the command look like when running a test with japa?

I assume: $ japa test1.js

Seems like this should be right after:
https://github.com/thetutlage/japa#installation

@RomainLanz
Copy link
Member

Hey @lmj0011 !

You need to use node directly to run your test.

You have an example in this repository: https://github.com/Slynova-Org/node-fence

@lmj0011
Copy link
Contributor Author

lmj0011 commented Feb 6, 2017

@RomainLanz

Thanks for the examples
PS. I have no clue what that package you linked, is suppose to do.

@RomainLanz
Copy link
Member

RomainLanz commented Feb 6, 2017

Yeah I need to finish it and write the documentation for it but I haven't free time atm 😞

@thetutlage
Copy link
Collaborator

@lmj0011 You just need to run the test file using node

node test1.js 

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

No branches or pull requests

3 participants