Skip to content

Commit

Permalink
deleting redundant test scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
beluamat29 committed Dec 7, 2024
1 parent 5d8f814 commit f432926
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/configuration/parameters_parser_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,6 @@ suite('Parameters parser', () => {
assert.areEqual(configuration, { language: 'it' });
});

test('returns configuration with fail fast, randomize and english language enabled no matter the order the params are sent', () => {
const configuration1 = ParametersParser.generateRunConfigurationFromParams(['-f', '-r', '-l en']);
const configuration2 = ParametersParser.generateRunConfigurationFromParams(['-f', '-l en', '-r']);
const configuration3 = ParametersParser.generateRunConfigurationFromParams(['-l en', '-f', '-r']);

assert.areEqual(configuration1, { failFast: true, randomOrder: true, language: 'en' });
assert.areEqual(configuration2, { failFast: true, randomOrder: true, language: 'en' });
assert.areEqual(configuration3, { failFast: true, randomOrder: true, language: 'en' });
});

test('returns configuration with fail fast, randomize and english language enabled when mixing long and short commands no matter the order the params are sent', () => {
const configuration1 = ParametersParser.generateRunConfigurationFromParams(['-f', '--randomize', '-l en']);
const configuration2 = ParametersParser.generateRunConfigurationFromParams(['--fail-fast', '-l en', '-r']);
Expand Down

0 comments on commit f432926

Please sign in to comment.