Skip to content

Commit

Permalink
chore: test cypress version
Browse files Browse the repository at this point in the history
  • Loading branch information
agoldis committed Sep 19, 2023
1 parent 7c97918 commit f34bbcf
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions e2e/cypress-13-demo/__tests__/run.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ const testSpecs = [
];
let result: any = null;

describe(`Cypress ${
// eslint-disable-next-line
process.env.CURRENTS_USE_CYPRESS_VERSION ?? 13
} compatibility`, () => {
// eslint-disable-next-line
const cypressVersion = process.env.CURRENTS_USE_CYPRESS_VERSION ?? 13;
describe(`Cypress ${cypressVersion} compatibility`, () => {
jest.setTimeout(60 * 1000 * 5);

beforeAll(async () => {
Expand All @@ -37,7 +36,7 @@ describe(`Cypress ${
it("should have compatible config", async () => {
expect(result.config).toMatchObject({
video: config.video,
version: expect.stringContaining("13."),
version: expect.stringContaining(`${cypressVersion}`),
});
});

Expand Down

0 comments on commit f34bbcf

Please sign in to comment.