Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hisasann/nuxt-lint-ts-msw
ESlint、TypeScript、Mock Service Worker(msw)でのモックサーバーを使ったリポジトリです
https://github.com/hisasann/nuxt-lint-ts-msw
eslint jest msw nuxtjs typescript vue vue-test-utils
Last synced: 29 days ago
JSON representation
ESlint、TypeScript、Mock Service Worker(msw)でのモックサーバーを使ったリポジトリです
- Host: GitHub
- URL: https://github.com/hisasann/nuxt-lint-ts-msw
- Owner: hisasann
- Created: 2021-06-13T13:05:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T17:46:46.000Z (11 months ago)
- Last Synced: 2024-04-16T22:31:20.096Z (7 months ago)
- Topics: eslint, jest, msw, nuxtjs, typescript, vue, vue-test-utils
- Language: JavaScript
- Homepage: https://zenn.dev/hisasann/scraps/3020c3246dcdd7
- Size: 553 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nuxt-lint-ts-msw
## やったこと
- ✅ Mock Service Worker(msw)を使ったモックサーバーを実現する
- ✅ Mock Service Worker(msw)を使ってstoreのAPIテストをモック経由で実現する
- ✅ CypressをGithubActionsで実行する
- ✅ CypressをCloudBuildで実行する## 参考記事
[Mock Service Worker(msw)をNuxt.jsでモックサーバーとして使ってみる](https://zenn.dev/hisasann/scraps/3020c3246dcdd7)
[Jest+Mock Service Worker(msw)でNuxt.jsのstoreをテストしてみる](https://zenn.dev/hisasann/scraps/63b9f419b6abc3)
## Build Setup
```bash
# install dependencies
$ npm install# serve with hot reload at localhost:3000
$ npm run dev# build for production and launch server
$ npm run build
$ npm run start# generate static project
$ npm run generate
```For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).