test-utils
nx-examples
test-utils | nx-examples | |
---|---|---|
8 | 4 | |
983 | 858 | |
2.1% | 1.3% | |
9.3 | 6.9 | |
5 days ago | 21 days ago | |
TypeScript | TypeScript | |
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.
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.
nx-examples
-
is there any real and open "multi project" monorepo?
Right now Nx is my go-to for this problem as well. They do have the repo of examples for various patterns, but unfortunately I don't think those are quite as complete as OP is looking for.
-
Recommendations for lerna/yarn mono repos?
It may be worth it for OP to use that command, then use Nx's generators to add some projects to the workspace, and just look at some of the ways it configures projects. There's also the Nx examples repo, but that may be a bit much for somebody who doesn't know anything about the tool yet.
-
Resources to get started with Nx
Example repo for Nx workspace
-
Using a libraries in your workspace, do you configure compilerOptions.paths to target dist or src ?
Example in the nx samples too !
What are some alternatives?
vue-ts - Vite + Vue + TypeScript template
nx-nrwl-airlines-angular - Nrwl Airlines workspace using Nx CLI
storybook - Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.
angular-material-starter-template - π Angular 14 boilerplate that comes with Material-UI, Tailwind3, Purgecss, Jest & Cypress Support, Optimal project structure & Interceptor inspired from popular blogs, source map analyzer tools, husky, all pre-configured and much more...
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
egghead-next - The frontend for egghead.io.
core - π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
nx-dotnet
angular-testing-library - π Simple and complete Angular testing utilities that encourage good testing practices
angular-nest-nx - πStarter project with Angular 13, Ngx-admin, NestJS, Nx Workspace, Jest, Cypress, ESLint & Prettier π
studio-ghibli-search-engine - A search engine to search films and characters under studio ghibli
create-t3-turbo - Clean and simple starter repo using the T3 Stack along with Expo React Native