mirror of
https://github.com/WowUp/WowUp.git
synced 2026-04-20 05:48:01 -04:00
Fix new lint issues
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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"),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user