Fix new lint issues

This commit is contained in:
jliddev
2024-04-24 23:30:52 -05:00
parent d01405ab82
commit fac01eec4e
3 changed files with 1 additions and 2 deletions

View File

@@ -3,7 +3,6 @@ import { TranslateMessageFormatCompiler } from "ngx-translate-messageformat-comp
import { HttpClient, HttpClientModule } from "@angular/common/http";
import { CUSTOM_ELEMENTS_SCHEMA } from "@angular/core";
import { ComponentFixture, TestBed } from "@angular/core/testing";
import { MatIcon } from "@angular/material/icon";
import { MatIconTestingModule } from "@angular/material/icon/testing";
import { NoopAnimationsModule } from "@angular/platform-browser/animations";
import { TranslateCompiler, TranslateLoader, TranslateModule } from "@ngx-translate/core";

View File

@@ -5,7 +5,6 @@ import { BehaviorSubject, Subject } from "rxjs";
import { OverlayModule } from "@angular/cdk/overlay";
import { HttpClient, HttpClientModule } from "@angular/common/http";
import { ComponentFixture, TestBed } from "@angular/core/testing";
import { MatIcon } from "@angular/material/icon";
import { MatIconTestingModule } from "@angular/material/icon/testing";
import { NoopAnimationsModule } from "@angular/platform-browser/animations";
import { TranslateCompiler, TranslateLoader, TranslateModule } from "@ngx-translate/core";

View File

@@ -62,6 +62,7 @@ describe("AddonUtils", () => {
});
it("Should throw interface undefined", () => {
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
expect(() => AddonUtils.toInterfaceVersion(undefined as any)).toThrow(
new Error("interface version empty or undefined"),
);