Vklass: Run tests with nx
This commit is contained in:
parent
1598a7e9c8
commit
5debb9a555
|
@ -29,6 +29,7 @@ The respective README files there contain more detailed descriptions.
|
||||||
* [api](#api)
|
* [api](#api)
|
||||||
* [api-skolplattformen](#api-skolplattformen)
|
* [api-skolplattformen](#api-skolplattformen)
|
||||||
* [api-hjarntorget](#api-hjarntorget)
|
* [api-hjarntorget](#api-hjarntorget)
|
||||||
|
* [api-vklass](#api-vklass)
|
||||||
* [curriculum](#curriculum)
|
* [curriculum](#curriculum)
|
||||||
* [hooks](#hooks)
|
* [hooks](#hooks)
|
||||||
* [Getting started with development](#getting-started-with-development)
|
* [Getting started with development](#getting-started-with-development)
|
||||||
|
@ -74,7 +75,11 @@ The base for all api implementations
|
||||||
|
|
||||||
#### api-hjarntorget
|
#### api-hjarntorget
|
||||||
|
|
||||||
The implementation for the school platform in Gothenburg called Hjärntorget
|
The implementation for the school platform in Gothenburg called Hjärntorget.
|
||||||
|
|
||||||
|
#### api-vklass
|
||||||
|
|
||||||
|
The implementation for the school platform Vklass.
|
||||||
|
|
||||||
#### api-skolplattformen
|
#### api-skolplattformen
|
||||||
|
|
||||||
|
@ -84,6 +89,7 @@ It also makes it easier for others to develop their own applications for the Sko
|
||||||
**Pro tip:** If you don't want the API to make requests to the back-end, you can turn on _fake mode_ to return static data instead. \
|
**Pro tip:** If you don't want the API to make requests to the back-end, you can turn on _fake mode_ to return static data instead. \
|
||||||
Do so by logging in using 12121212121212 or 1212121212 as your personal identity number.
|
Do so by logging in using 12121212121212 or 1212121212 as your personal identity number.
|
||||||
Check out the documentation [here](libs/api-skolplattformen).
|
Check out the documentation [here](libs/api-skolplattformen).
|
||||||
|
|
||||||
#### curriculum
|
#### curriculum
|
||||||
|
|
||||||
Translations of curriculum codes (sv: ämneskoder på schemat) to clear text descriptions
|
Translations of curriculum codes (sv: ämneskoder på schemat) to clear text descriptions
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"root": "libs/api-vklass",
|
||||||
|
"sourceRoot": "libs/api-vklass/src",
|
||||||
|
"projectType": "library",
|
||||||
|
"targets": {
|
||||||
|
"lint": {
|
||||||
|
"executor": "@nrwl/linter:eslint",
|
||||||
|
"outputs": ["{options.outputFile}"],
|
||||||
|
"options": {
|
||||||
|
"lintFilePatterns": ["libs/api-vklass/**/*.{ts,tsx,js,jsx}"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"test": {
|
||||||
|
"executor": "@nrwl/jest:jest",
|
||||||
|
"outputs": ["coverage/libs/api-skolplattformen"],
|
||||||
|
"options": {
|
||||||
|
"jestConfig": "libs/api-vklass/jest.config.js",
|
||||||
|
"passWithNoTests": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tags": []
|
||||||
|
}
|
|
@ -1,12 +1,13 @@
|
||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"projects": {
|
"projects": {
|
||||||
"api": "libs/api",
|
|
||||||
"api-hjarntorget": "libs/api-hjarntorget",
|
"api-hjarntorget": "libs/api-hjarntorget",
|
||||||
"api-skolplattformen": "libs/api-skolplattformen",
|
"api-skolplattformen": "libs/api-skolplattformen",
|
||||||
"api-test-app": "apps/api-test-app",
|
"api-vklass": "libs/api-vklass",
|
||||||
|
"api": "libs/api",
|
||||||
"curriculum": "libs/curriculum",
|
"curriculum": "libs/curriculum",
|
||||||
"hooks": "libs/hooks",
|
"hooks": "libs/hooks",
|
||||||
|
"api-test-app": "apps/api-test-app",
|
||||||
"skolplattformen-app": "apps/skolplattformen-app"
|
"skolplattformen-app": "apps/skolplattformen-app"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue