Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
stalgiag committed Aug 26, 2024
1 parent 80c2c15 commit 32630a1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions tests/resources/aria-at-test-io-format.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const normalizeString = str =>
'>': '>',
''': "'",
'"': '"',
}[str] || str)
})[str] || str
);

/** Depends on ConfigInput. */
Expand Down Expand Up @@ -1436,11 +1436,11 @@ export class TestRunInputOutput {
) || command.unexpected.behaviors.some(({ checked }) => checked)
? CommandSupportJSONMap.FAILING
: allAssertions.some(
({ priority, result }) =>
(priority === 2 || priority === 3) && result !== CommonResultMap.PASS
)
? CommandSupportJSONMap.ALL_REQUIRED
: CommandSupportJSONMap.FULL;
({ priority, result }) =>
(priority === 2 || priority === 3) && result !== CommonResultMap.PASS
)
? CommandSupportJSONMap.ALL_REQUIRED
: CommandSupportJSONMap.FULL;
}

/**
Expand Down Expand Up @@ -1484,8 +1484,8 @@ export class TestRunInputOutput {
assertion.result === AssertionResultMap.FAIL_MISSING
? AssertionFailJSONMap.NO_OUTPUT
: assertion.result === AssertionResultMap.FAIL_INCORRECT
? AssertionFailJSONMap.INCORRECT_OUTPUT
: AssertionFailJSONMap.NO_SUPPORT,
? AssertionFailJSONMap.INCORRECT_OUTPUT
: AssertionFailJSONMap.NO_SUPPORT,
};
}
}
Expand Down Expand Up @@ -1522,8 +1522,8 @@ export class TestRunInputOutput {
assertion.result === 'failIncorrect'
? 'INCORRECT_OUTPUT'
: assertion.result === 'failMissing'
? 'NO_OUTPUT'
: null,
? 'NO_OUTPUT'
: null,
})),
unexpectedBehaviors: command.unexpected.behaviors
.map(behavior =>
Expand Down
4 changes: 2 additions & 2 deletions tests/resources/aria-at-test-run.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -876,8 +876,8 @@ function resultsTableDocument(state) {
command.unexpected.behaviors.some(({ checked }) => checked)
? 'FAILING'
: allAssertions.some(({ priority, result }) => priority === 2 && !result)
? 'ALL_REQUIRED'
: 'FULL',
? 'ALL_REQUIRED'
: 'FULL',
details: {
output: /** @type {Description} */ [
'Output:',
Expand Down

0 comments on commit 32630a1

Please # to comment.