Skip to content

Commit c031599

Browse files
committed
tests: add # to name to differentiate between instance & static
`#` means instance
1 parent 888538e commit c031599

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/Component.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ describe("Component", () => {
6767
});
6868
});
6969

70-
describe("bytes", () => {
70+
describe("#bytes", () => {
7171
it("should return the bytes of a Component with headers and body", () => {
7272
const headersInit = {"Content-Type": "text/plain", "Content-Length": "3"};
7373
const body = new Uint8Array([1, 2, 3]);

test/Multipart.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ describe("Multipart", function () {
126126
});
127127
});
128128

129-
describe("body", function () {
129+
describe("#body", function () {
130130
it("should correctly return the body of the Multipart", function () {
131131
const boundary = "test-boundary";
132132
const component = new Component({ "content-type": "text/plain" }, new TextEncoder().encode("test body"));
@@ -164,7 +164,7 @@ describe("Multipart", function () {
164164
});
165165
});
166166

167-
describe("bytes", function () {
167+
describe("#bytes", function () {
168168
it("should correctly return the bytes of the Multipart", function () {
169169
const boundary = "test-boundary";
170170
const component = new Component({ "x-foo": "bar" }, new TextEncoder().encode("test content"));

0 commit comments

Comments
 (0)