mirror of
https://github.com/bitwarden/browser
synced 2026-02-08 20:50:28 +00:00
fix legacy test type errors
This commit is contained in:
@@ -24,7 +24,7 @@ describe("GeneratorNavigationEvaluator", () => {
|
||||
|
||||
describe("applyPolicy", () => {
|
||||
it("returns the input options when a policy is not in effect", () => {
|
||||
const evaluator = new GeneratorNavigationEvaluator(null);
|
||||
const evaluator = new GeneratorNavigationEvaluator(null!);
|
||||
const options = { type: "password" as const };
|
||||
|
||||
const result = evaluator.applyPolicy(options);
|
||||
@@ -54,7 +54,7 @@ describe("GeneratorNavigationEvaluator", () => {
|
||||
});
|
||||
|
||||
it("defaults options to the default generator navigation type when a policy is not in effect", () => {
|
||||
const evaluator = new GeneratorNavigationEvaluator(null);
|
||||
const evaluator = new GeneratorNavigationEvaluator(null!);
|
||||
|
||||
const result = evaluator.sanitize({});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user