Skip to content

Commit e8bebc4

Browse files
committed
test: fix e2e tests for missing unused flags
Signed-off-by: Lenin Mehedy <[email protected]>
1 parent 72b2029 commit e8bebc4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

test/e2e/commands/separate_node_upgrade.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* SPDX-License-Identifier: Apache-2.0
33
*/
4-
import {it, describe, after} from 'mocha';
4+
import {after, describe, it} from 'mocha';
55
import {expect} from 'chai';
66

77
import {Flags as flags} from '../../../src/commands/flags.js';
@@ -90,6 +90,8 @@ e2eTestSuite(
9090
flags.localBuildPath.constName,
9191
flags.force.constName,
9292
'nodeClient',
93+
'consensusNodes',
94+
'contexts',
9395
]);
9496
}).timeout(Duration.ofMinutes(5).toMillis());
9597

test/e2e/e2e_node_util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* SPDX-License-Identifier: Apache-2.0
33
*/
4-
import {it, describe, after, before, afterEach} from 'mocha';
4+
import {after, afterEach, before, describe, it} from 'mocha';
55
import {expect} from 'chai';
66

77
import {Flags as flags} from '../../src/commands/flags.js';
@@ -150,7 +150,7 @@ export function e2eNodeKeyRefreshTest(testName: string, mode: string, releaseTag
150150
expect(nodeCmd.getUnusedConfigs(NodeCommandConfigs.REFRESH_CONFIGS_NAME)).to.deep.equal([
151151
flags.devMode.constName,
152152
flags.quiet.constName,
153-
flags.context.constName,
153+
'contexts',
154154
]);
155155
} catch (e) {
156156
nodeCmd.logger.showUserError(e);

0 commit comments

Comments
 (0)