-
Codesandbox has a wonderful integrated test runner that seems to automagically detect spec files. Is something like this possible with sandpack? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I'll just try to follow this thread and close this for now! codesandbox/codesandbox-client#364 |
Beta Was this translation helpful? Give feedback.
-
Hey! That's right! We have the same logic in Sandpack, but we're not using it right now. However, you should be able to trigger it by sending a message to sandpack. The message should be something like this: Right now it's a bit wacky because we don't have official support within Sandpack for tests, but the logic is already there 😄 . |
Beta Was this translation helpful? Give feedback.
-
@CompuIves Is there any change on sandpack so test would be triggered with dispatch({ type: "run-tests"}) ? |
Beta Was this translation helpful? Give feedback.
I'll just try to follow this thread and close this for now! codesandbox/codesandbox-client#364