From b28d3d9d745e454e392a7528af81573e4deacaff Mon Sep 17 00:00:00 2001 From: Luca Greco Date: Wed, 2 Nov 2016 21:31:56 +0100 Subject: [PATCH] fix: fixed typos and nits in tests. --- test/test-browser-global.js | 4 ++-- test/test-runtime-onMessage.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test-browser-global.js b/test/test-browser-global.js index b21495d..cde9bf5 100644 --- a/test/test-browser-global.js +++ b/test/test-browser-global.js @@ -12,7 +12,7 @@ describe("browser-polyfill", () => { }); }); - it("do not override the global browser namespace if it already exists", () => { + it("does not override the global browser namespace if it already exists", () => { const fakeChrome = { runtime: {lastError: null}, }; @@ -22,7 +22,7 @@ describe("browser-polyfill", () => { return setupTestDOMWindow(fakeChrome, fakeBrowser).then(window => { deepEqual(window.browser, fakeBrowser, - "The existent browser has not been wrapped"); + "The existing browser has not been wrapped"); }); }); diff --git a/test/test-runtime-onMessage.js b/test/test-runtime-onMessage.js index 5f178fa..e587c83 100644 --- a/test/test-runtime-onMessage.js +++ b/test/test-runtime-onMessage.js @@ -7,7 +7,7 @@ const {setupTestDOMWindow} = require("./setup"); describe("browser-polyfill", () => { describe("wrapped runtime.onMessage listener", () => { - it("do not wrap the listener if it is not a function", () => { + it("does not wrap the listener if it is not a function", () => { const fakeChrome = { runtime: { lastError: null,