Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Problem running inside Docker #86

Open
fredcido opened this issue Apr 21, 2021 · 1 comment
Open

Problem running inside Docker #86

fredcido opened this issue Apr 21, 2021 · 1 comment

Comments

@fredcido
Copy link

Hello all, I am trying to run the tests inside a docker container, following the steps, using the following configuration:

FROM node:14

RUN apt-get update -y && apt-get install -y xvfb
ENV DISPLAY=':99'
RUN Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
RUN npm test

However, the tests hang, with no error message at all, I can't even get a clue on what's going on:

npm test

> [email protected] test /app
> jest "--selectProjects" "e2e" "--verbose"

Running one project: e2e

Test Suites: 0 of 5 total
Tests:       0 total
Snapshots:   0 total
Time:        422 s

Any hint on what's going on?

@vee-epirus
Copy link

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants