File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ limitations under the License.
1717/* joining.js: tests for the various paths when joining a room */
1818
1919import PlatformPeg from 'matrix-react-sdk/lib/PlatformPeg' ;
20- import Platform from '../../src/vector/platform' ;
20+ import WebPlatform from '../../src/vector/platform/WebPlatform ' ;
2121
2222require ( 'skin-sdk' ) ;
2323
@@ -88,7 +88,7 @@ describe('joining a room', function() {
8888 localStorage . setItem ( "mx_access_token" , ACCESS_TOKEN ) ;
8989 localStorage . setItem ( "mx_user_id" , USER_ID ) ;
9090
91- PlatformPeg . set ( new Platform ( ) ) ;
91+ PlatformPeg . set ( new WebPlatform ( ) ) ;
9292
9393 const mc = (
9494 < MatrixChat config = { { } }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ limitations under the License.
1717/* loading.js: test the myriad paths we have for loading the application */
1818
1919import PlatformPeg from 'matrix-react-sdk/lib/PlatformPeg' ;
20- import Platform from '../../src/vector/platform' ;
20+ import WebPlatform from '../../src/vector/platform/WebPlatform ' ;
2121
2222import 'skin-sdk' ;
2323
@@ -151,7 +151,7 @@ describe('loading:', function() {
151151 default_is_url : DEFAULT_IS_URL ,
152152 } , opts . config || { } ) ;
153153
154- PlatformPeg . set ( new Platform ( ) ) ;
154+ PlatformPeg . set ( new WebPlatform ( ) ) ;
155155
156156 const params = parseQs ( windowLocation ) ;
157157 matrixChat = ReactDOM . render (
You can’t perform that action at this time.
0 commit comments