Update all Python and JS dependencies. Fixes #4019

This commit is contained in:
Khushboo Vashi
2019-03-14 15:11:16 +00:00
committed by Dave Page
parent c7b29d35ae
commit e4417229aa
133 changed files with 8649 additions and 8569 deletions

View File

@@ -16,19 +16,19 @@ describe('backup.menuUtils', () => {
describe('#menuEnabledServer', () => {
context('provided node data is undefined', () => {
it('returns false', () => {
expect(menuEnabledServer(undefined)).toBe(false);
expect(menuEnabledServer(undefined)).toEqual(false);
});
});
context('provided node data is null', () => {
it('returns false', () => {
expect(menuEnabledServer(null)).toBe(false);
expect(menuEnabledServer(null)).toEqual(false);
});
});
context('current node type is not of the type server', () => {
it('returns false', () => {
expect(menuEnabledServer({_type: 'schema'})).toBe(false);
expect(menuEnabledServer({_type: 'schema'})).toEqual(false);
});
});
@@ -38,7 +38,7 @@ describe('backup.menuUtils', () => {
expect(menuEnabledServer({
_type: 'server',
connected: true,
})).toBe(true);
})).toEqual(true);
});
});
context('is not connected', () => {
@@ -46,7 +46,7 @@ describe('backup.menuUtils', () => {
expect(menuEnabledServer({
_type: 'server',
connected: false,
})).toBe(false);
})).toEqual(false);
});
});
});