Trying to make server tests more stable

This commit is contained in:
simojenki
2022-10-20 16:35:18 +11:00
parent 719fd998b1
commit 84866dfd60
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ COPY yarn.lock .
COPY .yarnrc.yml . COPY .yarnrc.yml .
COPY .yarn/releases ./.yarn/releases COPY .yarn/releases ./.yarn/releases
ENV JEST_TIMEOUT=30000 ENV JEST_TIMEOUT=60000
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \ RUN apt-get update && \

View File

@@ -172,8 +172,8 @@ describe("server", () => {
jest.resetAllMocks(); jest.resetAllMocks();
}); });
const bonobUrlWithNoContextPath = url("http://bonob.localhost:1234"); const bonobUrlWithNoContextPath = url("http://localhost:1234");
const bonobUrlWithContextPath = url("http://bonob.localhost:1234/aContext"); const bonobUrlWithContextPath = url("http://localhost:1234/aContext");
const langName = randomLang(); const langName = randomLang();
const acceptLanguage = `le-ET,${langName};q=0.9,en;q=0.8`; const acceptLanguage = `le-ET,${langName};q=0.9,en;q=0.8`;