Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Apr 2, 2024
1 parent ddd76fb commit c323f24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
import { ErrorTypeEnum, getClientErrorObject } from '@superset-ui/core';
import { getClientErrorObject } from '../../src/connection/getClientErrorObject';
import { ErrorTypeEnum } from '../../src/query/types/Query';

describe('getClientErrorObject()', () => {
it('Returns a Promise', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
* under the License.
*/

import { formatTimeRange, buildTimeRangeString } from './fetchTimeRange';
import {
formatTimeRange,
buildTimeRangeString,
} from '../../src/utils/fetchTimeRange';

describe('buildTimeRangeString', () => {
it('generates proper time range string', () => {
Expand Down

0 comments on commit c323f24

Please sign in to comment.