mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-14 08:36:25 +00:00
c64524f985
Re-using the existing React testing class to hook into the example app. Right now, the test is extremely basic but is able to be expanded later. Resolves #36
16 lines
297 B
JavaScript
16 lines
297 B
JavaScript
/* Copyright 2016 Realm Inc - All Rights Reserved
|
|
* Proprietary and Confidential
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
import {
|
|
getRootComponent,
|
|
assertChildExists,
|
|
} from './util';
|
|
|
|
export default {
|
|
async testTodoAppRendered() {
|
|
assertChildExists(await getRootComponent(), 'TodoApp');
|
|
},
|
|
} |