Commit Graph

20 Commits

Author SHA1 Message Date
三咲智子
aaf90d99d0
test: switch to vitest (#5991)
* test: use vitest

* test: add script and ci

* chore: improve tsconfig

* refactor: use-form-item

* fix: remove unused

* chore: improve scripts

* test: improve mock

* refactor: change coverage
2022-02-21 14:28:22 +08:00
三咲智子
879ea6d31b
feat: support jsx, closes #5708 (#5947) 2022-02-11 12:10:56 +08:00
三咲智子
ca7bcfe9b3
feat: add defineOptions for script-setup (#5932)
* feat: add unplugin-vue-define-options

* feat: add jest support
2022-02-11 11:39:49 +08:00
jeremywu
3957ffb324
feat(project): adding cypress into element plus (#5281)
* feat(project): adding cypress into element plus

- Introduce Cypress to Element Plus
- Add Action config for running Cypress automatically after workflow for build website done
- Add a base case for button.spec.ts
- Add cypress recordings and screenshots to gitignore
- Add Cypress into tsconfig.json for global typing intelligence
- Add scripts for running cypress

* - Update cpress.yml syntax error

* - Remove cypress from jest running collector
2022-01-10 19:25:48 +08:00
btea
70fa3e7f26
feat(components): [el-message] config-provider message max attr (#5063)
* feat(components): [el-message] config-provider message max attr

* chore: update test

* feat: update test and message-method

* chore: format config-provider.md

* test: add multiple config-provider

* test: config-provider nesting
2022-01-08 20:03:13 +08:00
Kevin
cd2bd26d63 test: upgrade @vue/test-utils to v2.0.0-rc.15 2021-10-06 17:19:00 +08:00
三咲智子
3e8409cd45
refactor(dev): drop babel (#3678)
* refactor(dev): drop babel

* test: fix test

* drop babel

* refactor: drop nodejs 14 support
2021-09-27 15:25:58 +08:00
三咲智子
7a9c6f38d7
build: parallel build (#3416) 2021-09-26 01:29:07 +08:00
三咲智子
f9e192535f
refactor: replace yarn with pnpm (#3571)
* refactor: replace yarn with pnpm

* chore: install pnpm

* chore: disable cache

* ignore pnpm-lock.yaml

* resolve deps

* setup pnpm
2021-09-23 08:12:37 +08:00
Aex
ac7c226196
chore(project): upgrade dependencies to latest minor (#3242)
* chore(project): bump @babel/cli from 7.12.1 to 7.15.4

* chore(project): bump @babel/core from 7.11.6 to 7.15.5

* chore(project): bump @babel/plugin-proposal-class-properties to 7.14.5

* chore(project): bump @babel/plugin-transform-runtime to 7.15.0

* chore(project): bump @babel/preset-env from 7.11.5 to 7.15.4

* chore(project): bump @babel/preset-typescript from 7.10.4 to 7.15.0

* chore(project): bump babel-loader from 8.1.0 to 8.2.2

* chore(project): bump babel-plugin-module-resolver from 4.0.0 to 4.1.0

* chore(project): bump @popperjs/core from 2.4.4 to 2.10.1

* chore(project): update babel.config.js

* chore(project): update jest.config.js

* chore(project): bump @typescript-eslint/eslint-plugin to 4.30.0

* chore(project): bump @typescript-eslint/parser from 4.29.3 to 4.30.0

* chore(project): bump algoliasearch from 4.4.0 to 4.10.5

* chore(project): bump transliteration from 2.1.11 to 2.2.0

* chore(project): bump typescript from 4.3.5 to 4.4.2

* chore(project): bump esbuild from 0.12.5 to 0.12.25

* chore(project): bump file-loader from 6.1.0 to 6.2.0

* chore(project): bump rollup from 2.28.2 to 2.56.3

* chore(project): bump rollup-plugin-esbuild from 4.2.3 to 4.5.0

* chore(project): bump sass from 1.37.0 to 1.39.0

* chore(project): move sass & typescript to devDependencies
2021-09-05 19:57:35 +08:00
三咲智子
55348b30b6
style: use prettier (#3228)
* style: use prettier

* style: just prettier format, no code changes

* style: eslint fix
object-shorthand, prefer-const

* style: fix no-void

* style: no-console
2021-09-04 19:29:28 +08:00
Herrington Darkholme
63c841f6d0 Update jest.config.js 2020-10-27 16:55:56 +08:00
Simona
19a2e5f416
build: adjust the order of file extensions by usage frequency in jest (#477) 2020-10-27 16:52:16 +08:00
余林夕
c2951875b3
feat(message-box): migrate MessageBox (#300)
* feat(message-box): migrate MessageBox

* refactor(message-box): import sleep from test-utils

* refactor(message-box): optimize props

* refactor(message-box): optimize message-box

* refactor(message-box): optimize message-box

* refactor(message-box): optimize message-box

* refactor(message-box): remove `removeClass` & `addClass`

* refactor(message-box): replace 'HTMLElement' with 'HTMLButtonElement'

* refactor(message-box): review optimize

* refactor(message-box): __test__ optimize

* refactor(message-box): replace addEvent with on and off

* refactor(message-box): remove doc

* feat(message-box): jest add @babel/plugin-proposal-class-properties

Co-authored-by: YuLinXi <yumengyuan@klicen.com>
2020-10-19 13:50:22 +08:00
zouhang
5000056c4e feat: add jsx support for test case 2020-09-24 17:36:44 +08:00
zazzaz
81ded9d976 fix: fix bundle issue 2020-08-14 09:54:27 +08:00
JeremyWuuuuu
25d6bd4667 feat(notification): add new component notification 2020-08-06 21:15:20 +08:00
HerringtonDarkholme
8d8bff8030 feat(core): use faster swc-jest 2020-07-31 13:59:39 +08:00
Hanx
4e5b229308
Chore/eslint (#34)
* chore: add eslint support & some fixes

* chore: eslint basic support rules & some fixes; ignore yarn-error
2020-07-27 16:17:41 +08:00
Herrington Darkholme
b42f434c1e feat: add jest basic config 2020-07-24 16:44:56 +08:00