minor fixes (ref. #15)

merge-requests/9/merge
Michał 'rysiek' Woźniak 2021-09-15 21:29:09 +00:00
rodzic d02cbb7a9d
commit 05e7997e89
4 zmienionych plików z 9 dodań i 12 usunięć

Wyświetl plik

@ -51,7 +51,7 @@ describe("plugin: alt-fetch", () => {
}
})
test("it should register in LibResilientPlugins", () => {
test("it should register in LibResilientPluginConstructors", () => {
require("../../plugins/alt-fetch.js");
expect(LibResilientPluginConstructors.get('alt-fetch')().name).toEqual('alt-fetch');
});

Wyświetl plik

@ -31,7 +31,7 @@ describe("plugin: fetch", () => {
}
}
})
test("it should register in LibResilientPlugins", () => {
test("it should register in LibResilientPluginConstructors", () => {
require("../../plugins/fetch.js");
expect(LibResilientPluginConstructors.get('fetch')().name).toEqual('fetch');
});

Wyświetl plik

@ -6,10 +6,7 @@
* this plugin does not implement any push method
*/
/*
* no polluting of the global namespace please
*/
// no polluting of the global namespace please
(function(LRPC){
// this never changes
const pluginName = "fetch"