Skip to content

Commit f95960d

Browse files
authored
[SignalR] Test definition isn't async (#9481)
Jest is warning us that this will be deprecated in the future. There's no reason for the `describe` callback to be `async` since all it's doing is registering tests through nested `it` calls.
1 parent 9c25375 commit f95960d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SignalR/clients/ts/signalr/tests/HubConnectionBuilder.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ describe("HubConnectionBuilder", () => {
148148
});
149149
});
150150

151-
describe("configureLogging", async () => {
151+
describe("configureLogging", () => {
152152
function testLogLevels(logger: ILogger, minLevel: LogLevel) {
153153
const capturingConsole = new CapturingConsole();
154154
(logger as ConsoleLogger).outputConsole = capturingConsole;

0 commit comments

Comments
 (0)