Force cache refresh on config tests
This commit is contained in:
parent
55864b744a
commit
037de1f77b
|
@ -16,7 +16,7 @@ function configTests({ before, describe, it, firebase }) {
|
|||
|
||||
describe('Config', () => {
|
||||
it('it should fetch and activate config', () => {
|
||||
return firebase.native.config().fetch()
|
||||
return firebase.native.config().fetch(0)
|
||||
.then(() => {
|
||||
return firebase.native.config().activateFetched();
|
||||
})
|
||||
|
@ -57,6 +57,15 @@ function configTests({ before, describe, it, firebase }) {
|
|||
return Promise.resolve();
|
||||
});
|
||||
});
|
||||
|
||||
it('it get all keys as an array', () => {
|
||||
return firebase.native.config().getKeysByPrefix()
|
||||
.then((result) => {
|
||||
console.log(result)
|
||||
result.should.be.Array();
|
||||
return Promise.resolve();
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue