Skip to content

Commit 802d049

Browse files
committed
rdflib-utils: fix name of describe block and make sure they stay up-to-day with method under test
1 parent a73eaf7 commit 802d049

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/rdflib/src/test-support/mockResponses.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { mockLdpContainer, mockTurtleDocument } from "./mockResponses";
22

33
describe("mockResponses", () => {
4-
describe("mockTurtleResponse", () => {
4+
describe(mockTurtleDocument.name, () => {
55
it("mocks a turtle document body", async () => {
66
const fetch = jest.fn();
77
mockTurtleDocument(
@@ -46,7 +46,7 @@ describe("mockResponses", () => {
4646
});
4747
});
4848

49-
describe("mockLdpContainer", () => {
49+
describe(mockLdpContainer.name, () => {
5050
it("mocks a container without contents", async () => {
5151
const fetch = jest.fn();
5252
mockLdpContainer(fetch, "http://container.test/");

0 commit comments

Comments
 (0)