Skip to content

Commit

Permalink
Fix E2E UMD test
Browse files Browse the repository at this point in the history
  • Loading branch information
danreeves committed Sep 26, 2018
1 parent d26b5bd commit 4c713a3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 49 deletions.
2 changes: 2 additions & 0 deletions example/tests/umd/index.html
Expand Up @@ -2,6 +2,8 @@
<html lang="en">
<head>
<title>UMD example</title>
<script src="https://unpkg.com/react/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
</head>
<body>
<div id="app"></div>
Expand Down
7 changes: 3 additions & 4 deletions example/tests/umd/index.js
@@ -1,7 +1,6 @@
/* globals React, ReactDOM */
/* eslint-disable import/extensions */
import React from '../../../node_modules/react/umd/react.production.min.js';
import { render } from '../../../node_modules/react-dom/umd/react-dom.production.min.js';
import ReactTether from '../../../dist/react-tether.min.js';
import ReactTether from '../../../dist/react-tether.js';

function App() {
return (
Expand All @@ -15,4 +14,4 @@ function App() {
);
}

render(<App />, document.querySelector('#app'));
ReactDOM.render(<App />, document.querySelector('#app'));
62 changes: 17 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4c713a3

Please sign in to comment.