mirror of
https://github.com/apache/superset.git
synced 2026-04-08 10:55:20 +00:00
[build] Bump superset-ui packages and update build (#9241)
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user