File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- import * as RequestsSaga from '../../ utils/RequestHelper' ;
1+ import * as RequestsSaga from '../utils/RequestHelper' ;
22
33export class RequestMock {
44 static noResponse ( ) : typeof RequestsSaga . request {
Original file line number Diff line number Diff line change 11import Constants from '../../utils/Constants' ;
22import { externalUrlShortenerRequest } from '../PlaygroundSaga' ;
3- import { RequestMock } from './RequestMock' ;
3+ import { RequestMock } from '../../mocks /RequestMock' ;
44
55describe ( 'Playground saga tests' , ( ) => {
66 Constants . urlShortenerBase = 'http://url-shortener.com/' ;
Original file line number Diff line number Diff line change 11import * as RequestsSaga from '../../utils/RequestHelper' ;
22import { getSharedProgram , postSharedProgram } from '../RequestsSaga' ;
3- import { mockTokens , RequestMock } from './RequestMock' ;
3+ import { mockTokens , RequestMock } from '../../mocks /RequestMock' ;
44
55describe ( 'RequestsSaga tests' , ( ) => {
66 const request = jest . spyOn ( RequestsSaga , 'request' ) ;
You can’t perform that action at this time.
0 commit comments