Modify mocha-test-clients to use Karma (#149)

This commit is contained in:
sneakypete81
2016-12-01 22:08:31 +00:00
committed by Kumar McMillan
parent 395786e353
commit 8638cd7698
6 changed files with 116 additions and 43 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ var Background = {
if (msg && msg.action && Background.hasOwnProperty(msg.action)) {
return Background[msg.action](msg, sender, sendResponse);
} else {
console.warning('No handler for message: ' + JSON.stringify(msg));
console.warn('No handler for message: ' + JSON.stringify(msg));
}
},
ping: function(msg, sender, sendResponse) {
@@ -12,4 +12,4 @@ var Background = {
}
};
chrome.runtime.onMessage.addListener(Background.receiveMessage);
chrome.runtime.onMessage.addListener(Background.receiveMessage);