kopia lustrzana https://gitlab.com/rysiekpl/libresilient
first-passing test
rodzic
a46e307c5f
commit
3bb3124e44
|
|
@ -1,4 +1,4 @@
|
|||
var self = self || {};
|
||||
var self = self || global;
|
||||
|
||||
self.LibResilientPlugins = new Array()
|
||||
|
||||
|
|
@ -12,6 +12,6 @@ const fetchPlugin = require("../../plugins/fetch.js");
|
|||
|
||||
describe("fetch() plugin", () => {
|
||||
test("it should register in LibResilientPlugins", () => {
|
||||
expect(!!self.LibResilientPlugins[0].name).toEqual('fetch');
|
||||
expect(self.LibResilientPlugins[0].name).toEqual('fetch');
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Plik diff jest za duży
Load Diff
|
|
@ -2,7 +2,7 @@
|
|||
|* === Regular HTTP(S) fetch() plugin === *|
|
||||
\* ========================================================================= */
|
||||
|
||||
var self = self || {};
|
||||
var self = self || global;
|
||||
|
||||
/**
|
||||
* this plugin does not implement any push method
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue