Skip to content

Jest tests not working in basic new sandbox. #4872

@Neutrino-Sunset

Description

@Neutrino-Sunset

Description of the problem

Jest tests do not work as described in the documentation here

How has this issue affected you? What are you trying to accomplish?

I'm trying to run a test and it isn't being detected.

To Reproduce

Create a sandbox using the official Vanilla JS template.
Add a Javascript file named .test.js containing a test.

Expected

The test should be detected and run.

Actual

Nothing happens at all.

Link to sandbox: link (optional)

https://codesandbox.io/s/import-tests-ci7zc

The sandbox looks screwed up to me. I created it from the VanillaJS template but the Sandbox Info pane suggests it's come from the Node HTTP Server template, and the Server Control Panel pane suggests it's running in a server container. But the sandbox has a plain index.js that was generated by the template.

Makes no sense to me at all.

Your Environment

Software Name/Version
Сodesandbox Where would I get that from?
Browser Firefox 80.0.1
Operating System Win 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions