Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 单元测试环境(包含覆盖率测试)

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)