Skip to content

Commit f6767c6

Browse files
author
Vikas Agarwal
committed
lint fixes
1 parent b37ca8a commit f6767c6

File tree

7 files changed

+2
-8
lines changed

7 files changed

+2
-8
lines changed

src/permissions/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const projectEdit = require('./project.edit');
66
const projectDelete = require('./project.delete');
77
const projectMemberDelete = require('./projectMember.delete');
88
const projectAdmin = require('./admin.ops');
9-
const connectManagerOrAdmin = require('./connectManagerOrAdmin.ops');
9+
// const connectManagerOrAdmin = require('./connectManagerOrAdmin.ops');
1010
const copilotAndAbove = require('./copilotAndAbove');
1111

1212
module.exports = () => {

src/routes/productTemplates/get.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ describe('GET product template', () => {
5656
after(testUtil.clearDb);
5757

5858
describe('GET /productTemplates/{templateId}', () => {
59-
6059
it('should return 404 for non-existed template', (done) => {
6160
request(server)
6261
.get('/v4/productTemplates/1234')

src/routes/productTemplates/list.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ describe('LIST product templates', () => {
9292
after(testUtil.clearDb);
9393

9494
describe('GET /productTemplates', () => {
95-
9695
it('should return 200 for admin', (done) => {
9796
request(server)
9897
.get('/v4/productTemplates')

src/routes/projectTemplates/get.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ describe('GET project template', () => {
5858
after(testUtil.clearDb);
5959

6060
describe('GET /projectTemplates/{templateId}', () => {
61-
6261
it('should return 404 for non-existed template', (done) => {
6362
request(server)
6463
.get('/v4/projectTemplates/1234')
@@ -105,7 +104,7 @@ describe('GET project template', () => {
105104
done();
106105
});
107106
});
108-
107+
109108
it('should return 200 even if user is not authenticated', (done) => {
110109
request(server)
111110
.get(`/v4/projectTemplates/${templateId}`)

src/routes/projectTemplates/list.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ describe('LIST project templates', () => {
7575
after(testUtil.clearDb);
7676

7777
describe('GET /projectTemplates', () => {
78-
7978
it('should return 200 for admin', (done) => {
8079
request(server)
8180
.get('/v4/projectTemplates')

src/routes/projectTypes/get.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ describe('GET project type', () => {
3333
after(testUtil.clearDb);
3434

3535
describe('GET /projectTypes/{key}', () => {
36-
3736
it('should return 404 for non-existed type', (done) => {
3837
request(server)
3938
.get('/v4/projectTypes/1234')

src/routes/projectTypes/list.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ describe('LIST project types', () => {
4646
after(testUtil.clearDb);
4747

4848
describe('GET /projectTypes', () => {
49-
5049
it('should return 200 for admin', (done) => {
5150
request(server)
5251
.get('/v4/projectTypes')

0 commit comments

Comments
 (0)