mirror of
https://github.com/maputnik/editor.git
synced 2025-12-06 06:10:00 +00:00
## Summary - switch InputAutocomplete to `downshift` - remove obsolete `react-autocomplete` dependency - document autocomplete change in the changelog ## Testing - `npm run lint` - `npm run build` ------ https://chatgpt.com/codex/tasks/task_e_68685a78c2d483319c068f813723c1a7 --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
32 lines
608 B
TypeScript
32 lines
608 B
TypeScript
import { defineConfig } from "cypress";
|
|
import { createRequire } from "module";
|
|
const require = createRequire(import.meta.url);
|
|
|
|
export default defineConfig({
|
|
env: {
|
|
codeCoverage: {
|
|
exclude: "cypress/**/*.*",
|
|
},
|
|
},
|
|
|
|
e2e: {
|
|
setupNodeEvents(on, config) {
|
|
// implement node event listeners here
|
|
require("@cypress/code-coverage/task")(on, config);
|
|
return config;
|
|
},
|
|
baseUrl: "http://localhost:8888",
|
|
retries: {
|
|
runMode: 2,
|
|
openMode: 0,
|
|
},
|
|
},
|
|
|
|
component: {
|
|
devServer: {
|
|
framework: "react",
|
|
bundler: "vite",
|
|
},
|
|
},
|
|
});
|