Skip to content

Commit

Permalink
Add copy command after build for interup with surge.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
nhunzaker committed May 3, 2017
1 parent 3e1a768 commit d421181
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fixtures/dom/package.json
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"start": "react-scripts start",
"prestart": "cp ../../build/dist/{react,react-dom}.development.js public/",
"build": "react-scripts build",
"build": "react-scripts build && cp build/index.html build/200.html",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
Expand Down
Expand Up @@ -465,10 +465,10 @@ describe('ReactDOMInput', () => {
});

ReactDOM.render(<input value="a" />, container);
expect(nodeValueSetter.mock.calls.length).toBe(1);
expect(nodeValueSetter.mock.calls.length).toBe(0);

ReactDOM.render(<input value="b" />, container);
expect(nodeValueSetter.mock.calls.length).toBe(2);
expect(nodeValueSetter.mock.calls.length).toBe(1);
});

it('should properly control a value of number `0`', () => {
Expand Down

0 comments on commit d421181

Please sign in to comment.