Skip to content

Commit

Permalink
remove cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz committed Sep 29, 2022
1 parent 0f57e59 commit c67095b
Show file tree
Hide file tree
Showing 13 changed files with 61 additions and 526 deletions.
3 changes: 1 addition & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ dist/
esm/
sandpack/
file-resolver-protocol.ts
examples/
cypress/
examples/
3 changes: 1 addition & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
// TypeScript specific rules
"plugin:@typescript-eslint/recommended",
// Disable eslint rules that conflict with Prettier's formatting
"prettier",
"plugin:cypress/recommended"
"prettier"
],
"parser": "@typescript-eslint/parser",
"rules": {
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,6 @@ jobs:
name: sandpack-themes-${{ github.sha }}
path: sandpack-themes/dist

- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: yarn dev:react
config: video=false

test:
name: Unit tests
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,3 @@ dist

# Mac
.DS_Store

cypress/videos
cypress/screenshots
6 changes: 0 additions & 6 deletions cypress.json

This file was deleted.

5 changes: 0 additions & 5 deletions cypress/fixtures/example.json

This file was deleted.

31 changes: 0 additions & 31 deletions cypress/integration/Templates.spec.js

This file was deleted.

22 changes: 0 additions & 22 deletions cypress/plugins/index.js

This file was deleted.

34 changes: 0 additions & 34 deletions cypress/snapshots.js

This file was deleted.

1 change: 0 additions & 1 deletion cypress/support/commands.js

This file was deleted.

20 changes: 0 additions & 20 deletions cypress/support/index.js

This file was deleted.

8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
"format:check": "prettier --check '**/*.{ts,tsx}'",
"format": "prettier --write '**/*.{ts,tsx,js,jsx}'",
"test": "TEST_ENV=true jest sandpack-react sandpack-client --transformIgnorePatterns \"node_modules/(?!@codemirror)/\"",
"cy:open": "cypress open",
"cy:run": "cypress run",
"build": "yarn workspace @codesandbox/sandpack-client build && yarn workspace @codesandbox/sandpack-react build && yarn workspace @codesandbox/sandpack-themes build",
"prepare": "husky install",
"clean": "yarn workspaces run clean",
Expand All @@ -41,19 +39,16 @@
"@babel/preset-env": "^7.16.5",
"@babel/preset-react": "^7.16.5",
"@babel/preset-typescript": "^7.16.5",
"@cypress/snapshot": "^2.1.7",
"@octokit/rest": "^18.12.0",
"@types/jest": "^27.4.0",
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^4.0.0",
"babel-eslint": "^10.0.0",
"babel-jest": "^27.4.5",
"cypress": "^9.1.1",
"esbuild": "^0.12.21",
"eslint": "^7.5.0",
"eslint-config-prettier": "^8.1.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
Expand All @@ -67,7 +62,6 @@
"lint-staged": "^10.5.4",
"package-build-stats": "7.3.6",
"prettier": "^2.2.1",
"react-test-renderer": "^18.1.0",
"cypress-real-events": "^1.7.0"
"react-test-renderer": "^18.1.0"
}
}
Loading

0 comments on commit c67095b

Please sign in to comment.