Conversation
| /* eslint import/no-unresolved: 0 */ | ||
| import db from '../../models/'; | ||
| import ErrorHandler from '../helpers/ErrorHandler'; | ||
| import DocumentHelper from '../helpers/DocumentHelper'; |
There was a problem hiding this comment.
Missing file extension for "../helpers/DocumentHelper" import/extensions
| @@ -0,0 +1,54 @@ | |||
| /* eslint import/no-unresolved: 0 */ | |||
| import db from '../../models/'; | |||
| import ErrorHandler from '../helpers/ErrorHandler'; | |||
There was a problem hiding this comment.
Missing file extension for "../helpers/ErrorHandler" import/extensions
| @@ -0,0 +1,54 @@ | |||
| /* eslint import/no-unresolved: 0 */ | |||
| import db from '../../models/'; | |||
There was a problem hiding this comment.
Missing file extension for "../../models/" import/extensions
| import 'babel-polyfill'; | ||
| import chai from 'chai'; | ||
| import factory from '../helpers/factory.helpers'; | ||
| import db from '../../models/'; |
There was a problem hiding this comment.
Missing file extension for "../../models/" import/extensions
| /* eslint no-unused-expressions: 0 */ | ||
| /* eslint import/no-unresolved: 0 */ | ||
| import 'babel-polyfill'; | ||
| import chai from 'chai'; |
There was a problem hiding this comment.
Missing file extension for "chai" import/extensions
| @@ -0,0 +1,89 @@ | |||
| /* eslint no-unused-expressions: 0 */ | |||
| /* eslint import/no-unresolved: 0 */ | |||
| import 'babel-polyfill'; | |||
There was a problem hiding this comment.
Missing file extension for "babel-polyfill" import/extensions
| import factory from '../helpers/factory.helpers'; | ||
| import sampleDoc from '../helpers/documents.helper'; | ||
| import db from '../../models/'; | ||
| import authenticate from '../../middlewares/authenticate'; |
There was a problem hiding this comment.
Missing file extension for "../../middlewares/authenticate" import/extensions
| import app from '../../app'; | ||
| import factory from '../helpers/factory.helpers'; | ||
| import sampleDoc from '../helpers/documents.helper'; | ||
| import db from '../../models/'; |
There was a problem hiding this comment.
Missing file extension for "../../models/" import/extensions
| import sinon from 'sinon'; | ||
| import events from 'events'; | ||
| import supertest from 'supertest'; | ||
| import app from '../../app'; |
There was a problem hiding this comment.
Missing file extension for "../../app" import/extensions
| import chai from 'chai'; | ||
| import sinon from 'sinon'; | ||
| import events from 'events'; | ||
| import supertest from 'supertest'; |
There was a problem hiding this comment.
Missing file extension for "supertest" import/extensions
| /* eslint import/no-unresolved: 0 */ | ||
| import db from '../../models/'; | ||
| import ErrorHandler from '../helpers/ErrorHandler'; | ||
| import DocumentHelper from '../helpers/DocumentHelper'; |
There was a problem hiding this comment.
Missing file extension for "../helpers/DocumentHelper" import/extensions
| @@ -0,0 +1,54 @@ | |||
| /* eslint import/no-unresolved: 0 */ | |||
| import db from '../../models/'; | |||
| import ErrorHandler from '../helpers/ErrorHandler'; | |||
There was a problem hiding this comment.
Missing file extension for "../helpers/ErrorHandler" import/extensions
| @@ -0,0 +1,54 @@ | |||
| /* eslint import/no-unresolved: 0 */ | |||
| import db from '../../models/'; | |||
There was a problem hiding this comment.
Missing file extension for "../../models/" import/extensions
| import 'babel-polyfill'; | ||
| import chai from 'chai'; | ||
| import factory from '../helpers/factory.helpers'; | ||
| import db from '../../models/'; |
There was a problem hiding this comment.
Missing file extension for "../../models/" import/extensions
| /* eslint no-unused-expressions: 0 */ | ||
| /* eslint import/no-unresolved: 0 */ | ||
| import 'babel-polyfill'; | ||
| import chai from 'chai'; |
There was a problem hiding this comment.
Missing file extension for "chai" import/extensions
| @@ -0,0 +1,89 @@ | |||
| /* eslint no-unused-expressions: 0 */ | |||
| /* eslint import/no-unresolved: 0 */ | |||
| import 'babel-polyfill'; | |||
There was a problem hiding this comment.
Missing file extension for "babel-polyfill" import/extensions
| import factory from '../helpers/factory.helpers'; | ||
| import sampleDoc from '../helpers/documents.helper'; | ||
| import db from '../../models/'; | ||
| import authenticate from '../../middlewares/authenticate'; |
There was a problem hiding this comment.
Missing file extension for "../../middlewares/authenticate" import/extensions
| import app from '../../app'; | ||
| import factory from '../helpers/factory.helpers'; | ||
| import sampleDoc from '../helpers/documents.helper'; | ||
| import db from '../../models/'; |
There was a problem hiding this comment.
Missing file extension for "../../models/" import/extensions
| import sinon from 'sinon'; | ||
| import events from 'events'; | ||
| import supertest from 'supertest'; | ||
| import app from '../../app'; |
There was a problem hiding this comment.
Missing file extension for "../../app" import/extensions
| import chai from 'chai'; | ||
| import sinon from 'sinon'; | ||
| import events from 'events'; | ||
| import supertest from 'supertest'; |
There was a problem hiding this comment.
Missing file extension for "supertest" import/extensions
| return queryInterface.dropTable('Documents'); | ||
| } | ||
| }; | ||
| }; No newline at end of file |
There was a problem hiding this comment.
Newline required at end of file but not found eol-last
| }); | ||
| }, | ||
| down: function (queryInterface, Sequelize) { | ||
| down: function(queryInterface, Sequelize) { |
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'down' func-names
Missing space before function parentheses space-before-function-paren
'Sequelize' is defined but never used no-unused-vars
| 'use strict'; | ||
| module.exports = { | ||
| up: function (queryInterface, Sequelize) { | ||
| up: function(queryInterface, Sequelize) { |
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
Missing space before function parentheses space-before-function-paren
| } | ||
| }); | ||
| }, | ||
| down: function (queryInterface, Sequelize) { |
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'down' func-names
'Sequelize' is defined but never used no-unused-vars
| @@ -0,0 +1,32 @@ | |||
| 'use strict'; | |||
| module.exports = { | |||
| up: function (queryInterface, Sequelize) { | |||
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
| down: function(queryInterface, Sequelize) { | ||
| return queryInterface.dropTable('Permissions'); | ||
| } | ||
| }; No newline at end of file |
There was a problem hiding this comment.
Newline required at end of file but not found eol-last
| } | ||
| }); | ||
| }, | ||
| down: function(queryInterface, Sequelize) { |
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'down' func-names
Missing space before function parentheses space-before-function-paren
'Sequelize' is defined but never used no-unused-vars
| @@ -0,0 +1,32 @@ | |||
| 'use strict'; | |||
| module.exports = { | |||
| up: function(queryInterface, Sequelize) { | |||
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
Missing space before function parentheses space-before-function-paren
| @@ -0,0 +1,32 @@ | |||
| 'use strict'; | |||
There was a problem hiding this comment.
Expected newline after "use strict" directive lines-around-directive
'use strict' is unnecessary inside of modules strict
| import chai from 'chai'; | ||
| import factory from '../helpers/factory.helpers'; | ||
| import rolePermissions from '../helpers/rolePermissions.helper'; | ||
| import db from '../../models/'; |
There was a problem hiding this comment.
Missing file extension for "../../models/" import/extensions
| return queryInterface.dropTable('Documents'); | ||
| } | ||
| }; | ||
| }; No newline at end of file |
There was a problem hiding this comment.
Newline required at end of file but not found eol-last
| }); | ||
| }, | ||
| down: function (queryInterface, Sequelize) { | ||
| down: function(queryInterface, Sequelize) { |
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'down' func-names
Missing space before function parentheses space-before-function-paren
'Sequelize' is defined but never used no-unused-vars
| 'use strict'; | ||
| module.exports = { | ||
| up: function (queryInterface, Sequelize) { | ||
| up: function(queryInterface, Sequelize) { |
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
Missing space before function parentheses space-before-function-paren
| } | ||
| }); | ||
| }, | ||
| down: function (queryInterface, Sequelize) { |
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'down' func-names
'Sequelize' is defined but never used no-unused-vars
| @@ -0,0 +1,32 @@ | |||
| 'use strict'; | |||
| module.exports = { | |||
| up: function (queryInterface, Sequelize) { | |||
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
| 'use strict'; | ||
| module.exports = { | ||
| up: function (queryInterface, Sequelize) { | ||
| up: function(queryInterface, Sequelize) { |
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
Missing space before function parentheses space-before-function-paren
| down: function(queryInterface, Sequelize) { | ||
| return queryInterface.dropTable('Permissions'); | ||
| } | ||
| }; No newline at end of file |
There was a problem hiding this comment.
Newline required at end of file but not found eol-last
| } | ||
| }); | ||
| }, | ||
| down: function(queryInterface, Sequelize) { |
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'down' func-names
Missing space before function parentheses space-before-function-paren
'Sequelize' is defined but never used no-unused-vars
| @@ -0,0 +1,32 @@ | |||
| 'use strict'; | |||
| module.exports = { | |||
| up: function(queryInterface, Sequelize) { | |||
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
Missing space before function parentheses space-before-function-paren
| @@ -0,0 +1,32 @@ | |||
| 'use strict'; | |||
There was a problem hiding this comment.
Expected newline after "use strict" directive lines-around-directive
'use strict' is unnecessary inside of modules strict
| import chai from 'chai'; | ||
| import supertest from 'supertest'; | ||
| import app from '../app'; | ||
| import app from '../../app'; |
There was a problem hiding this comment.
Missing file extension for "../../app" import/extensions
| }]); | ||
| }, | ||
|
|
||
| down: function(queryInterface, Sequelize) { |
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'down' func-names
Missing space before function parentheses space-before-function-paren
'Sequelize' is defined but never used no-unused-vars
| 'use strict'; | ||
|
|
||
| module.exports = { | ||
| up: function(queryInterface, Sequelize) { |
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
Missing space before function parentheses space-before-function-paren
'Sequelize' is defined but never used no-unused-vars
| @@ -0,0 +1,63 @@ | |||
| 'use strict'; | |||
There was a problem hiding this comment.
'use strict' is unnecessary inside of modules strict
|
|
||
| module.exports = { | ||
| up: function (queryInterface, Sequelize) { | ||
| up: function(queryInterface, Sequelize) { |
There was a problem hiding this comment.
Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
Missing space before function parentheses space-before-function-paren
'Sequelize' is defined but never used no-unused-vars
0ab0936 to
a461927
Compare
| import chai from 'chai'; | ||
| import factory from '../helpers/factory.helpers'; | ||
| import rolePermissions from '../helpers/rolePermissions.helper'; | ||
| import db from '../../models/'; |
There was a problem hiding this comment.
Missing file extension for "../../models/" import/extensions
| import factory from '../helpers/factory.helpers'; | ||
| import rolePermissions from '../helpers/rolePermissions.helper'; | ||
| import documents from '../helpers/documents.helper'; | ||
| import db from '../../models/'; |
There was a problem hiding this comment.
Missing file extension for "../../models/" import/extensions
| import 'babel-polyfill'; | ||
| import httpMocks from 'node-mocks-http'; | ||
| import chai from 'chai'; | ||
| import sinon from 'sinon'; |
There was a problem hiding this comment.
Missing file extension for "sinon" import/extensions
| /* eslint no-unused-expressions: 0 */ | ||
| import 'babel-polyfill'; | ||
| import httpMocks from 'node-mocks-http'; | ||
| import chai from 'chai'; |
There was a problem hiding this comment.
Missing file extension for "chai" import/extensions
| /* eslint no-underscore-dangle: 0 */ | ||
| /* eslint no-unused-expressions: 0 */ | ||
| import 'babel-polyfill'; | ||
| import httpMocks from 'node-mocks-http'; |
There was a problem hiding this comment.
Missing file extension for "node-mocks-http" import/extensions
a461927 to
e04873d
Compare
What does this PR do?
This PR adds access level to the API