Files
react-native-web/src/apis/AppRegistry/__tests__/renderApplication-test.js
Nicolas Gallagher d65c92eea9 [change] prepare for react-dom@15.4.0
Don't depend directly on the 'react-dom' module as it will be prebuilt
in 15.4. Leave server-side rendering to 'react-dom/server'.
2016-11-22 16:57:28 -08:00

16 lines
395 B
JavaScript

/* eslint-env jasmine, jest */
import { getApplication } from '../renderApplication';
import React from 'react';
const component = () => <div />;
describe('apis/AppRegistry/renderApplication', () => {
test('getApplication', () => {
const { element, stylesheet } = getApplication(component, {});
expect(element).toBeTruthy();
expect(stylesheet.type).toEqual('style');
});
});