mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Prevent duplicate names in unit/integration tests
Having identical names for different test-cases may result in less helpful output, which we can avoid with the use of the ESLint Jasmine plugin. This patch enables the rules at the `branch` level, to limit the amount/scope of the changes slightly. (We could thus make this rule more strict in the future, if that's deemed useful.) Please refer to: - https://github.com/tlvince/eslint-plugin-jasmine/blob/master/docs/rules/no-spec-dupes.md - https://github.com/tlvince/eslint-plugin-jasmine/blob/master/docs/rules/no-suite-dupes.md
This commit is contained in:
parent
485e9cecd7
commit
5732faee1e
4 changed files with 6 additions and 5 deletions
|
@ -999,7 +999,7 @@ describe("Scripting", function () {
|
|||
});
|
||||
});
|
||||
|
||||
it("should format a date", async () => {
|
||||
it("should format a date (cFormat)", async () => {
|
||||
const refId = getId();
|
||||
const data = {
|
||||
objects: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue