vue-ts
test-utils
Our great sponsors
vue-ts | test-utils | |
---|---|---|
4 | 8 | |
26 | 979 | |
- | 4.5% | |
0.0 | 9.3 | |
7 days ago | 2 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vue-ts
-
TIL: 2021-09-20 Automatically update package.json dependencies
During chore update of my vue-ts template dependencies (to learn more about it, read here) I was doing usual npm "upgrade" steps.
-
Vite vue ts tailwind template: Setup Jest coverage and add tests
When we have created vue-ts template Creating vite vue ts template: Create vite project Sardorbek Imomaliev ・ Jul 27 ・ 1 min read #vite #vue #typescript there was initial .gitignore file which was created as a part of vite/vue-ts scaffold.
-
Vite vue ts tailwind template: Create repo from vue-ts template
-[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/imomaliev/vue-ts/main.svg)](https://results.pre-commit.ci/latest/github/imomaliev/vue-ts/main) -![ci](https://github.com/imomaliev/vue-ts/actions/workflows/ci.yml/badge.svg) +[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/imomaliev/vue-ts-tailwind/main.svg)](https://results.pre-commit.ci/latest/github/imomaliev/vue-ts-tailwind/main) +![ci](https://github.com/imomaliev/vue-ts-tailwind/actions/workflows/ci.yml/badge.svg) -# Vue 3 + Typescript + Vite + Jest +# Vue 3 + Typescript + Vite + Jest + TailwindCSS -This template should help get you started developing with Vue 3 and Typescript in Vite. +This template should help get you started developing with Vue 3, Typescript and TailwindCSS in Vite.
-
Creating vite vue ts template: Setup editorconfig
vue-ts
test-utils
-
Exploring Component Testing in Vue with Playwright
Unlike Vue Test Utils or Testing Library, the mount() in Playwright does not work the same way. It does not accept a second parameter as additional Vue component options. To pass a prop upon mounting, we will use JSX syntax, as follows:
-
findByText for Vue Test Utils
When it comes to testing Vue components, Vue Test Utils is the official testing library that provides a rich set of utilities for interacting with and asserting on components in a Vue application. However, just like any library, there are always opportunities for enhancements and additions to further improve the testing experience.
-
Vitest/Vue Test Utils/typescript conflict?
I found this github issue from years ago that explains this is a known issue at the time and includes a workaround, but I'd prefer not to use a workaround. https://github.com/vuejs/test-utils/issues/194
-
Composition API testing, how to mock a method?
Same question https://github.com/vuejs/test-utils/issues/1718
-
Integration testing Vue3 with Pinia
I was working on a Vue 3 project where I had to write an integration test with vue test utils for a component that relied on Pinia, while at the same time needing to set some initial state on a Pinia store before mounting that component. This caused a problem:
-
How can i unit test serverPrefetch?
Issue: https://github.com/vuejs/test-utils/issues/1218 SSR package: https://github.com/vuejs/core/tree/main/packages/server-renderer
-
What are some problems with Vue.js?
spyOn is blocked by https://github.com/vuejs/vue-next/pull/4216. We have a PR for that in Test Utils, once this is merged: https://github.com/vuejs/vue-test-utils-next/pull/811
-
TIL: 2021-09-20 Automatically update package.json dependencies
This was a tricky one because at a first glance it may seem that I have a typescript problem in project which is technically correct, but actually this is a bug in @vue/test-utils-next library which was introduced in 2.0.0-rc.14 version. Installing 2.0.0-rc.13 or setting skipLibCheck: true in tsconfig.json solves this. For my case I've chosen the first approach.
What are some alternatives?
editorconfig-vim - EditorConfig plugin for Vim
nx-examples - Example repo for Nx workspace
vue-ts-tailwind - Vite + Vue + TypeScript + TailwindCSS template
storybook - Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.
Bower - A package manager for the web
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
gitignore - A collection of useful .gitignore templates
core - 🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
vue-cli - 🛠️ webpack-based tooling for Vue.js Development
angular-testing-library - 🐙 Simple and complete Angular testing utilities that encourage good testing practices
parcel - The zero configuration build tool for the web. 📦🚀
groundwork - A curated collection of boilerplate projects and reusable configurations