You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to script tests (named script.test.js) in scripts_dev/tests, but works fine if I move the tests to the same directory where the scripts themselves are, so it's almost like it's not taking --test-dir in to account at all?
If I'm doing something wrong here, let me know, since I'm still struggling trying to get even a simple test to run. :)
Probably not related, but I can't seem to get any further than this when testing:
Don't mind the last comment about the unexpected token. Took me a while to figure out that I was supposed to specifically eval() the temporary script named script.temp.js. Somehow managed to miss that part or figured it was a typo, but glad I was wrong. :)
At any rate, the original issue is still there, where the overriding the test directory doesn't seem to work.
@Dids Interesting on --test-dir. I'll dig in and see if I can spot the issue
Re: eval the temp script
Yeah, I need to make that clear in the README. It's in the sample test file, but making people dig around in my project to find out how to do things is a bit obtuse.
Full command/parameters I'm using right now:
This seems to script tests (named
script.test.js
) inscripts_dev/tests
, but works fine if I move the tests to the same directory where the scripts themselves are, so it's almost like it's not taking--test-dir
in to account at all?If I'm doing something wrong here, let me know, since I'm still struggling trying to get even a simple test to run. :)
Probably not related, but I can't seem to get any further than this when testing:
EDIT: Not sure if it matters, but I don't use TypeScript at all, just JavaScript.
The text was updated successfully, but these errors were encountered: