diff --git a/package.json b/package.json index 791b764..2981f52 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "build": "rimraf build && tsc", "semantic-release": "semantic-release -d", "prepare": "[ -d .git ] && git config core.hooksPath ./.git-hooks || true", - "test": "jest --coverage", + "test": "mkdir -p tmp && jest --coverage", "lint:fix": "npx prettier --write \"src/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"", "lint": "npx prettier --check \"src/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"", "package:lib": "npm run build && cp ./package.json build && cp README.md build && cd build && npm version \"5.0.0\" && npm pack" diff --git a/src/routes/spec/routes.spec.ts b/src/routes/spec/routes.spec.ts index f9bc5d1..c0fbda1 100644 --- a/src/routes/spec/routes.spec.ts +++ b/src/routes/spec/routes.spec.ts @@ -73,10 +73,10 @@ describe('deploy', () => { }) }) - it.only('should respond with payload example if valid payload was not provided', async () => { + it('should respond with payload example if valid payload was not provided', async () => { const res = await request(app).post('/deploy').send(getTreeExample()) - // expect(res.statusCode).toEqual(200) + expect(res.statusCode).toEqual(200) expect(res.text).toEqual( '{"status":"success","message":"Files deployed successfully to @sasjs/server."}' )