Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pdsuwwz/vue-unit-ts
Unit Testing for Vite 4.x + Vue 3.x + Jest 29.x + TS -- 搭建 Vue 3.x 单元测试环境(包含覆盖率测试)
https://github.com/pdsuwwz/vue-unit-ts
babel jest pnpm starter-template sucrase typescript unit-test vite vite3 vite4 vue vue3-typescript
Last synced: about 1 month ago
JSON representation
Unit Testing for Vite 4.x + Vue 3.x + Jest 29.x + TS -- 搭建 Vue 3.x 单元测试环境(包含覆盖率测试)
- Host: GitHub
- URL: https://github.com/pdsuwwz/vue-unit-ts
- Owner: pdsuwwz
- License: mit
- Created: 2021-11-24T09:50:50.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-01T16:50:06.000Z (4 months ago)
- Last Synced: 2024-11-03T13:49:52.207Z (3 months ago)
- Topics: babel, jest, pnpm, starter-template, sucrase, typescript, unit-test, vite, vite3, vite4, vue, vue3-typescript
- Language: Vue
- Homepage:
- Size: 913 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-unit-ts
[![Deploy](https://github.com/pdsuwwz/vue-unit-ts/workflows/Unit-Testing/badge.svg)](https://github.com/pdsuwwz/vue-unit-ts/actions/workflows/unit-testing.yml)
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/pdsuwwz/vue-unit-ts/unit-testing.yml?branch=main)](https://github.com/pdsuwwz/vue-unit-ts/deployments/activity_log)
[![codecov](https://codecov.io/gh/pdsuwwz/vue-unit-ts/branch/main/graph/badge.svg)](https://codecov.io/gh/pdsuwwz/vue-unit-ts)
[![jest](https://jestjs.io/img/jest-badge.svg)](https://github.com/facebook/jest)
[![Author](https://img.shields.io/badge/Author-Wisdom-9cf)](https://github.com/pdsuwwz)
[![License](https://img.shields.io/github/license/pdsuwwz/vite-starter?color=blue)](https://github.com/pdsuwwz/vite-starter/blob/master/LICENSE)Unit Testing for Vite 4.x + Vue 3.3 + TypeScript + Jest 29.x
## Environment Support
* Node >= 16.15.x
## Install
Install node dependencies in all packages
```bash
pnpm install
```## Run
Local Development
```bash
pnpm dev
```## Test
Unit Testing
```bash
pnpm test
```Test code coverage
```bash
pnpm test:coverage
```## 😎 Awesome
* [awesome-vite](https://github.com/pdsuwwz/awesome-vite)