[build] Bump superset-ui packages and update build (#9241)

This commit is contained in:
Erik Ritter
2020-03-05 14:20:45 -08:00
committed by GitHub
parent 4ffee8c5d1
commit 786e575dbe
9 changed files with 1708 additions and 1777 deletions

View File

@@ -21,7 +21,7 @@ import getClientErrorObject from '../../../src/utils/getClientErrorObject';
describe('getClientErrorObject()', () => {
it('Returns a Promise', () => {
const response = getClientErrorObject('error');
expect(response.constructor === Promise).toBe(true);
expect(response instanceof Promise).toBe(true);
});
it('Returns a Promise that resolves to an object with an error key', () => {