Skip to content

Commit

Permalink
update packages and move jest
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-hendrix committed Jul 14, 2023
1 parent 6100cb3 commit 4fbb856
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,37 @@
"up": "docker-compose -f docker-compose.yml up -d && docker-compose logs -f",
"down": "docker-compose -f docker-compose.yml down",
"devup": "next dev && npm run up",
"jest": "NODE_ENV=test jest --config=jest/jest.config.ts --runInBand --forceExit"
"jest": "NODE_ENV=test jest --config=test/jest/jest.config.ts --runInBand --forceExit"
},
"dependencies": {
"@next-auth/prisma-adapter": "^1.0.7",
"@prisma/client": "^4.16.2",
"@prisma/client": "^5.0.0",
"@reduxjs/toolkit": "^1.9.5",
"@types/bcrypt": "^5.0.0",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.3",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@types/jest": "^29.5.3",
"@types/node": "^20.4.2",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@types/validator": "^13.7.17",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"autoprefixer": "10.4.14",
"bcrypt": "^5.1.0",
"daisyui": "^3.1.7",
"eslint": "^8.44.0",
"daisyui": "^3.2.1",
"eslint": "^8.45.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-next": "^13.4.7",
"jest": "^29.5.0",
"next": "^13.4.7",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-next": "^13.4.10",
"jest": "^29.6.1",
"next": "^13.4.10",
"next-auth": "^4.22.1",
"postcss": "^8.4.24",
"prisma": "^4.16.2",
"postcss": "^8.4.26",
"prisma": "^5.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.45.1",
"react-redux": "^8.1.1",
"tailwindcss": "3.3.2",
"tailwindcss": "3.3.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
Expand Down
2 changes: 1 addition & 1 deletion jest/api.user.test.ts → test/jest/api.user.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable no-underscore-dangle */
import { Api, Cleaner } from './utils'
import { Api, Cleaner } from '../utils'

describe('/api/users', () => {
const usersApi = new Api('/api/users')
Expand Down
2 changes: 1 addition & 1 deletion jest/jest.config.ts → test/jest/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const jestConfig = {
preset: 'ts-jest',
rootDir: '../',
rootDir: '../../',
verbose: true,
testEnvironment: 'node',
transform: { '^.+\\.ts?$': 'ts-jest' },
Expand Down
File renamed without changes.

0 comments on commit 4fbb856

Please sign in to comment.