This commit is contained in:
Enis Afgan
2025-02-06 16:09:54 -05:00
parent bd847412a0
commit 3a8d5aeb39
2 changed files with 13 additions and 3 deletions
+10
View File
@@ -122,6 +122,16 @@ utils](https://vue-test-utils.vuejs.org/) to mount individual components in a
test bed and check them for rendered features. Please use jest-based mocking
for isolating test functionality.
### Linting
We use [Prettier](https://prettier.io/) to enforce code style and best
practices. Before submitting a pull request, from the `client` folder, run the
following commands as appropriate to ensure all the code is properly formatted:
yarn prettier --check .
yarn prettier --write .
yarn prettier --write src/components/MyComponent.js
### Running the tests
#### At Build-Time
@@ -10,10 +10,10 @@ jest.mock("@/composables/config", () => ({
config: {
install_tool_dependencies: true,
install_repository_dependencies: true,
install_resolver_dependencies: true
install_resolver_dependencies: true,
},
isConfigLoaded: true
})
isConfigLoaded: true,
}),
}));
const localVue = getLocalVue();