Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ deps.txt
emsdk
*.wasm
*.tgz
/*.mjs
!/eslint.config.mjs
10 changes: 4 additions & 6 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import tsParser from "@typescript-eslint/parser";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";
import js from "@eslint/js";
import tsParser from "@typescript-eslint/parser";
import typescriptEslint from "@typescript-eslint/eslint-plugin";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
baseDirectory: path.dirname(fileURLToPath(import.meta.url)),
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});
Expand Down
File renamed without changes.
7 changes: 3 additions & 4 deletions jest-puppeteer.config.js → jest-puppeteer.config.mjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
const path = require("path");
import process from 'node:process';

const PAGE_DIR = path.join("tests", "browser");
const PORT = 8080;

module.exports = {
export default {
launch: {
headless: process.env.TEST_HEADLESS !== "false",
args: ['--no-sandbox', '--disable-setuid-sandbox'],
},
server: {
command: `anywhere -s -p ${PORT} -d ${PAGE_DIR}`,
command: `anywhere -s -p ${PORT} -d tests/browser`,
port: PORT,
},
};
Loading
Loading