File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import chai , { expect } from 'chai' ;
33import { shallow , mount } from 'enzyme' ;
4- import Audio from '../src/components/Audio ' ;
5- import Transformation from '../src/components/Transformation' ;
4+ import cloudinary from './cloudinary-proxy ' ;
5+ const { Audio , Transformation} = cloudinary ;
66
77chai . use ( require ( 'chai-string' ) ) ;
88
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import chai , { expect } from 'chai' ;
33import { shallow , mount } from 'enzyme' ;
4- import Video from '../src/components/Video' ;
5- import Transformation from '../src/components/Transformation' ;
6-
4+ import cloudinary from './cloudinary-proxy' ;
5+ const { Video, Transformation} = cloudinary ;
76chai . use ( require ( 'chai-string' ) ) ;
87
98describe ( 'Video' , ( ) => {
You can’t perform that action at this time.
0 commit comments