Skip to content

Commit

Permalink
test: Fix mocha/no-identical-title eslint issue (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
abmusse committed Dec 8, 2020
1 parent c02b799 commit 8bb5860
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ module.exports = {
// The following rules cause problems for our existing tests, so they are disabled for now:
'mocha/no-skipped-tests': 'off',
'mocha/no-hooks-for-single-case': 'off',
'mocha/no-identical-title': 'off',
},
},
],
Expand Down
6 changes: 3 additions & 3 deletions test/functional/ProgramCallFunctional.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('ProgramCall Functional Tests', function () {
printConfig();
});

describe('Test ProgramCall()', function () {
describe('addParam', function () {
it('calls QWCRSVAL program checks if it ran successfully', function (done) {
const connection = new Connection(config);

Expand Down Expand Up @@ -81,10 +81,10 @@ describe('ProgramCall Functional Tests', function () {
});
});

describe.skip('Test ProgramCall()', function () {
describe.skip('addReturn', function () {
// ZZSRV6 program requires XMLSERVICE built with tests
// Skip for now, we need to add before hook to check ZZSRV6 is available
it.skip('Should be successful with addReturn arbitrary attribute specified', function (done) {
it.skip('calls ZZVARY4 and checks the return value', function (done) {
const connection = new Connection(config);

const program = new ProgramCall('ZZSRV6', { lib: 'XMLSERVICE', func: 'ZZVARY4' });
Expand Down
6 changes: 3 additions & 3 deletions test/functional/deprecated/iPgmFunctional.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('iPgm Functional Tests', function () {
printConfig();
});

describe('Test iPgm()', function () {
describe('addParam', function () {
it('calls QWCRSVAL program checks if it ran successfully', function (done) {
const connection = new iConn(database, username, password, restOptions);

Expand Down Expand Up @@ -79,10 +79,10 @@ describe('iPgm Functional Tests', function () {
});
});

describe.skip('Test iPgm()', function () {
describe.skip('addReturn', function () {
// ZZSRV6 program requires XMLSERVICE built with tests
// Skip for now, we need to add before hook to check if ZZSRV6 is available
it.skip('Should be successful with addReturn arbitrary attribute specified using', function (done) {
it.skip('calls ZZVARY4 and checks the return value', function (done) {
const connection = new iConn(database, username, password, restOptions);

const program = new iPgm('ZZSRV6', { lib: 'XMLSERVICE', func: 'ZZVARY4' });
Expand Down

0 comments on commit 8bb5860

Please sign in to comment.