Skip to content

Commit

Permalink
readd playwright tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alextaing committed Oct 25, 2023
1 parent c676595 commit f105409
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e-tests/playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { PlaywrightTestConfig, expect } from "@playwright/test";
import fs from "node:fs";
import os from "node:os";

expect.extend({
async toHaveContents(filepath: string, expectedContents: string) {
Expand Down Expand Up @@ -51,7 +52,7 @@ const config: PlaywrightTestConfig = {
video: "on",
},
workers: 1,
ignoreSnapshots: true,
ignoreSnapshots: os.platform() !== "darwin",
};

export default config;

0 comments on commit f105409

Please sign in to comment.