mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Trying to make server tests more stable
This commit is contained in:
@@ -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 && \
|
||||||
|
|||||||
@@ -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`;
|
||||||
|
|||||||
Reference in New Issue
Block a user