Skip to content

Commit 4874bdd

Browse files
committed
Fix incorrect property name in test/main.ts
1 parent a479eee commit 4874bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-smoke/electron/test/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ app.on("ready", () => {
829829
});
830830

831831
protocol.registerBufferProtocol("atom", (request, callback) => {
832-
callback({ mimeType: "text/html", buffer: new Buffer("<h5>Response</h5>") });
832+
callback({ mimeType: "text/html", data: new Buffer("<h5>Response</h5>") });
833833
});
834834

835835
protocol.registerStringProtocol("atom", (request, callback) => {

0 commit comments

Comments
 (0)