UIHttpServer and OCPP20AuthAdapter tests had nested describes with
afterEach blocks calling standardCleanup(), duplicating the outer
afterEach cleanup. This could cause mock.restoreAll() to be called
twice per test, potentially causing issues on Windows.
})
afterEach(() => {
- standardCleanup()
mock.reset()
})
gzipServer = new TestableUIHttpServer(createHttpServerConfig())
})
- afterEach(() => {
- standardCleanup()
- })
-
await it('should skip compression when acceptsGzip is false', () => {
const res = new MockServerResponse()