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

Let me run the code in my example #20

Open
JustinBeckwith opened this issue Mar 19, 2019 · 3 comments
Open

Let me run the code in my example #20

JustinBeckwith opened this issue Mar 19, 2019 · 3 comments

Comments

@JustinBeckwith
Copy link
Contributor

In addition to testing the TypeScript types, I also like to actually run my little sample app to make sure the module loads and such at runtime. It would be great if this module could do that for me

@DominicKramer
Copy link
Contributor

You should be able to do that now. Do you have a concrete example that shows what post-install-check is missing?

@JustinBeckwith
Copy link
Contributor Author

Right now the only method I see in the documentation is testInstallation. I want to also npm start in the CWD and capture the output.

@grant
Copy link

grant commented Oct 8, 2021

The example doesn't work because of the wrong import:

import {packNTest} from 'pack-n-play';

but after fixing the import, the test doesn't seem to pass with me (using Node 14).

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