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' ;
2
2
3
3
export class RequestMock {
4
4
static noResponse ( ) : typeof RequestsSaga . request {
Original file line number Diff line number Diff line change
1
+ import { RequestMock } from '../../mocks/RequestMock' ;
1
2
import Constants from '../../utils/Constants' ;
2
3
import { externalUrlShortenerRequest } from '../PlaygroundSaga' ;
3
- import { RequestMock } from './RequestMock' ;
4
4
5
5
describe ( 'Playground saga tests' , ( ) => {
6
6
Constants . urlShortenerBase = 'http://url-shortener.com/' ;
Original file line number Diff line number Diff line change
1
+ import { mockTokens , RequestMock } from '../../mocks/RequestMock' ;
1
2
import * as RequestsSaga from '../../utils/RequestHelper' ;
2
3
import { getSharedProgram , postSharedProgram } from '../RequestsSaga' ;
3
- import { mockTokens , RequestMock } from './RequestMock' ;
4
4
5
5
describe ( 'RequestsSaga tests' , ( ) => {
6
6
const request = jest . spyOn ( RequestsSaga , 'request' ) ;
You can’t perform that action at this time.
0 commit comments