Skip to content

Commit

Permalink
fix: Update test snapshots & eslint findings
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xter666 committed Apr 15, 2024
1 parent 417bd2c commit 9fc911a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/metadataProvider/createPseudoModulesInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async function fetchAndExtractAPIJsons(url: string) {
}

if (response.body && response.body instanceof ReadableStream) {
const zipFileName: string = url.split("/").pop() as string;
const zipFileName: string = url.split("/").pop()!;
const zipFile = path.resolve(RAW_API_JSON_FILES_FOLDER, zipFileName);
await mkdir(path.resolve(RAW_API_JSON_FILES_FOLDER), {recursive: true});

Expand Down
4 changes: 2 additions & 2 deletions test/lib/linter/snapshots/linter.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ Generated by [AVA](https://avajs.dev).
line: 1,
message: 'Import of pseudo module \'sap/m/BackgroundDesign\'',
messageDetails: 'Import library and reuse the enum from there',
ruleId: 'ui5-linter-no-deprecated-api',
ruleId: 'ui5-linter-no-pseudo-modules',
severity: 2,
},
{
Expand Down Expand Up @@ -766,7 +766,7 @@ Generated by [AVA](https://avajs.dev).
line: 1,
message: 'Import of pseudo module \'sap/m/BackgroundDesign\'',
messageDetails: 'Import library and reuse the enum from there',
ruleId: 'ui5-linter-no-deprecated-api',
ruleId: 'ui5-linter-no-pseudo-modules',
severity: 2,
},
{
Expand Down
Binary file modified test/lib/linter/snapshots/linter.ts.snap
Binary file not shown.
2 changes: 1 addition & 1 deletion test/lib/linter/xmlTemplate/snapshots/transpiler.ts.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Snapshot report for `test/lib/linter/xml/transpiler.ts`
# Snapshot report for `test/lib/linter/xmlTemplate/transpiler.ts`

The actual snapshot is saved in `transpiler.ts.snap`.

Expand Down

0 comments on commit 9fc911a

Please sign in to comment.