Skip to content

Commit ec0a15e

Browse files
committed
replace cypress with vitest
initial commit
1 parent cd63a8e commit ec0a15e

25 files changed

+7811
-14011
lines changed

.github/workflows/badges.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@v3
2020

2121
- name: Update version badges 🏷
22-
run: npx -p dependency-version-badge update-badge typescript cypress eslint prettier vite
22+
run: npx -p dependency-version-badge update-badge typescript eslint prettier vitest vite
2323

2424
- name: Commit any changed files 💾
2525
uses: stefanzweifel/git-auto-commit-action@v4

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ jobs:
1616
- name: Install Dependencies
1717
run: npm install
1818

19-
- name: Install Cypress
20-
run: npx cypress install
19+
- name: Install Playwright
20+
run: npx playwright install
21+
22+
- name: Lint
23+
run: npm run lint
2124

2225
- name: Build
2326
run: npm run build

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
[![ci](https://github.com/thednp/dommatrix/actions/workflows/ci.yml/badge.svg)](https://github.com/thednp/dommatrix/actions/workflows/ci.yml)
66
[![jsDeliver](https://data.jsdelivr.com/v1/package/npm/@thednp/dommatrix/badge)](https://www.jsdelivr.com/package/npm/@thednp/dommatrix)
77
[![typescript version](https://img.shields.io/badge/typescript-5.5.4-brightgreen)](https://www.typescriptlang.org/)
8-
[![cypress version](https://img.shields.io/badge/cypress-13.13.1-brightgreen)](https://www.cypress.io/)
9-
[![eslint version](https://img.shields.io/badge/eslint-8.44.0-brightgreen)](https://github.com/eslint)
10-
[![vite version](https://img.shields.io/badge/vite-5.3.5-brightgreen)](https://vitejs.dev/)
8+
[![eslint version](https://img.shields.io/badge/eslint-8.57.0-brightgreen)](https://github.com/eslint)
9+
[![vitest version](https://img.shields.io/badge/vitest-2.0.5-brightgreen)](https://vitest.dev/)
10+
[![vite version](https://img.shields.io/badge/vite-5.4.3-brightgreen)](https://vitejs.dev/)
1111
[![prettier version](https://img.shields.io/badge/prettier-2.8.8-brightgreen)](https://prettier.io/)
1212

1313
A TypeScript sourced [DOMMatrix](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix) shim for **Node.js** apps and legacy browsers. Since this source is modernized, legacy browsers might need some additional shims.

cypress.config.ts

Lines changed: 0 additions & 29 deletions
This file was deleted.

cypress/plugins/esbuild-istanbul.ts

Lines changed: 0 additions & 50 deletions
This file was deleted.

cypress/plugins/tsCompile.ts

Lines changed: 0 additions & 34 deletions
This file was deleted.

cypress/support/commands.ts

Lines changed: 0 additions & 37 deletions
This file was deleted.

cypress/support/e2e.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)