Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Fix mocha/no-identical-title eslint issue #296

Merged
merged 1 commit into from
Dec 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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