pack-n-play
pack-n-play copied to clipboard
Let me run the code in my example
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
You should be able to do that now. Do you have a concrete example that shows what post-install-check is missing?
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.
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).