Adds test for #3544 (#3545)

This commit is contained in:
Florent Vilmart
2017-02-21 15:06:45 -05:00
committed by GitHub
parent b4e27e1160
commit d3e6c0dea3
2 changed files with 34 additions and 0 deletions

9
spec/MockPushAdapter.js Normal file
View File

@@ -0,0 +1,9 @@
module.exports = function(options) {
return {
options: options,
send: function() {},
getValidPushTypes: function() {
return Object.keys(options.options);
}
};
};