mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
wip
This commit is contained in:
parent
30080a44c2
commit
b678c58c68
@ -1,6 +1,7 @@
|
||||
const dotenv = require('dotenv')
|
||||
import dotenv from 'dotenv'
|
||||
const { defineConfig } = require('cypress');
|
||||
const browserify = require('@cypress/browserify-preprocessor');
|
||||
//const browserify = require('@cypress/browserify-preprocessor');
|
||||
import browserify from '@cypress/browserify-preprocessor'
|
||||
const {
|
||||
addCucumberPreprocessorPlugin,
|
||||
} = require('@badeball/cypress-cucumber-preprocessor');
|
||||
|
||||
18
cypress/eslint.config.mjs
Normal file
18
cypress/eslint.config.mjs
Normal file
@ -0,0 +1,18 @@
|
||||
import js from "@eslint/js";
|
||||
import globals from "globals";
|
||||
import { defineConfig } from "eslint/config";
|
||||
import pluginCypress from 'eslint-plugin-cypress/flat'
|
||||
|
||||
|
||||
export default defineConfig([
|
||||
pluginCypress.configs.globals,
|
||||
pluginCypress.configs.recommended,
|
||||
{ files: ["**/*.{js,mjs,cjs}"], plugins: { js }, extends: ["js/recommended"] },
|
||||
{ files: ["**/*.{js,mjs,cjs}"], languageOptions: { globals: globals.browser } },
|
||||
{
|
||||
plugins: {
|
||||
cypress: pluginCypress
|
||||
},
|
||||
}
|
||||
|
||||
]);
|
||||
20
cypress/package.json
Normal file
20
cypress/package.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "ocelot-social-cypress",
|
||||
"version": "3.4.0",
|
||||
"description": "End-to-end testing via Cypress for ocelot.social",
|
||||
"repository": "https://github.com/Ocelot-Social-Community/Ocelot-Social",
|
||||
"author": "ocelot.social Community",
|
||||
"license": "MIT",
|
||||
"private": false,
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.26.0",
|
||||
"eslint": "^9.26.0",
|
||||
"eslint-config-prettier": "^10.1.2",
|
||||
"eslint-plugin-cypress": "^4.3.0",
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-plugin-prettier": "^5.2.6",
|
||||
"eslint-plugin-security": "^3.0.1",
|
||||
"globals": "^16.0.0",
|
||||
"prettier": "^3.5.3"
|
||||
}
|
||||
}
|
||||
2268
cypress/yarn.lock
Normal file
2268
cypress/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user