Skip to content

Commit

Permalink
[TestLogIn] Explicitly type this to Mocha.Context
Browse files Browse the repository at this point in the history
  • Loading branch information
dchege711 committed Apr 14, 2024
1 parent ff0b218 commit bce4017
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tests/mocha_tests/functionality_tests/TestLogIn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import { addPublicUser } from "../../../models/Miscellaneous";
import * as LogInUtilities from "../../../models/LogInUtilities";

describe("Test LoginUtilities\n", function() {

describe("when signing up new users", function() {
describe("when signing up new users", function(this: Mocha.Context) {

Check failure on line 8 in src/tests/mocha_tests/functionality_tests/TestLogIn.ts

View workflow job for this annotation

GitHub Actions / build (18.14.0)

Argument of type '(this: Mocha.Context) => void' is not assignable to parameter of type '(this: Suite) => void'.
this.timeout(5000); // These tests may run slower than 2s in CI.

before(function() {
Expand Down

0 comments on commit bce4017

Please sign in to comment.