Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
df5818cd
Commit
df5818cd
authored
Oct 01, 2022
by
steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: add `jest`
parent
58941045
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1483 additions
and
35 deletions
+1483
-35
jest.config.js
web/jest.config.js
+6
-0
package.json
web/package.json
+5
-1
yarn.lock
web/yarn.lock
+1472
-34
No files found.
web/jest.config.js
0 → 100644
View file @
df5818cd
/* eslint-disable no-undef */
/** @type {import('ts-jest').JestConfigWithTsJest} */
module
.
exports
=
{
preset
:
"ts-jest"
,
testEnvironment
:
"node"
,
};
web/package.json
View file @
df5818cd
...
@@ -4,7 +4,8 @@
...
@@ -4,7 +4,8 @@
"dev"
:
"vite"
,
"dev"
:
"vite"
,
"build"
:
"tsc && vite build"
,
"build"
:
"tsc && vite build"
,
"serve"
:
"vite preview"
,
"serve"
:
"vite preview"
,
"lint"
:
"eslint --ext .js,.ts,.tsx, src"
"lint"
:
"eslint --ext .js,.ts,.tsx, src"
,
"test"
:
"jest"
},
},
"dependencies"
:
{
"dependencies"
:
{
"@reduxjs/toolkit"
:
"^1.8.1"
,
"@reduxjs/toolkit"
:
"^1.8.1"
,
...
@@ -23,6 +24,7 @@
...
@@ -23,6 +24,7 @@
"react-router-dom"
:
"^6.4.0"
"react-router-dom"
:
"^6.4.0"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@jest/globals"
:
"^29.1.2"
,
"@types/lodash-es"
:
"^4.17.5"
,
"@types/lodash-es"
:
"^4.17.5"
,
"@types/node"
:
"^18.0.3"
,
"@types/node"
:
"^18.0.3"
,
"@types/qs"
:
"^6.9.7"
,
"@types/qs"
:
"^6.9.7"
,
...
@@ -36,10 +38,12 @@
...
@@ -36,10 +38,12 @@
"eslint-config-prettier"
:
"^8.3.0"
,
"eslint-config-prettier"
:
"^8.3.0"
,
"eslint-plugin-prettier"
:
"^4.0.0"
,
"eslint-plugin-prettier"
:
"^4.0.0"
,
"eslint-plugin-react"
:
"^7.27.1"
,
"eslint-plugin-react"
:
"^7.27.1"
,
"jest"
:
"^29.1.2"
,
"less"
:
"^4.1.1"
,
"less"
:
"^4.1.1"
,
"postcss"
:
"^8.4.5"
,
"postcss"
:
"^8.4.5"
,
"prettier"
:
"2.5.1"
,
"prettier"
:
"2.5.1"
,
"tailwindcss"
:
"^3.0.18"
,
"tailwindcss"
:
"^3.0.18"
,
"ts-jest"
:
"^29.0.3"
,
"typescript"
:
"^4.3.2"
,
"typescript"
:
"^4.3.2"
,
"vite"
:
"^3.0.0"
"vite"
:
"^3.0.0"
}
}
...
...
web/yarn.lock
View file @
df5818cd
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment