Skip to content

Commit

Permalink
Update api/package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Apr 13, 2024
1 parent d5b6c17 commit 5e33464
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dev": "nodemon",
"build": "rimraf dist && tsc --build --verbose&& babel dist -d dist",
"start": "npm run build && node dist/src",
"test": "rimraf coverage && cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --coverage",
"test": "rimraf coverage && tsc --build --verbose && cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --coverage",
"lint": "eslint --ext .ts .",
"ncu": "ncu -u -x eslint"
},
Expand Down
2 changes: 1 addition & 1 deletion api/tests/booking.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dotenv/config'
import request from 'supertest'
import * as movininTypes from ':movinin-types'
import { v1 as uuid } from 'uuid'
import * as movininTypes from ':movinin-types'
import app from '../src/app'
import * as databaseHelper from '../src/common/databaseHelper'
import * as testHelper from './testHelper'
Expand Down
2 changes: 1 addition & 1 deletion api/tests/property.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import 'dotenv/config'
import request from 'supertest'
import * as movininTypes from ':movinin-types'
import url from 'url'
import path from 'path'
import fs from 'node:fs/promises'
import { v1 as uuid } from 'uuid'
import * as movininTypes from ':movinin-types'
import * as databaseHelper from '../src/common/databaseHelper'
import app from '../src/app'
import * as env from '../src/config/env.config'
Expand Down
2 changes: 1 addition & 1 deletion api/tests/testHelper.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import request from 'supertest'
import cookieParser from 'cookie-parser'
import bcrypt from 'bcrypt'
import * as movininTypes from ':movinin-types'
import { v1 as uuid } from 'uuid'
import mongoose from 'mongoose'
import * as movininTypes from ':movinin-types'
import app from '../src/app'
import * as env from '../src/config/env.config'
import User from '../src/models/User'
Expand Down

0 comments on commit 5e33464

Please sign in to comment.