Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Commit

Permalink
fix tests and update JS dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro committed May 19, 2017
1 parent 5276f03 commit c8d5768
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 139 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@
},
"devDependencies": {
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.1",
"babel-jest": "^20.0.3",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-preset-es2015": "^6.24.0",
"babel-preset-stage-2": "^6.22.0",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^15.0.0",
"eslint-config-airbnb": "^15.0.1",
"eslint-config-airbnb-base": "^11.2.0",
"eslint-plugin-babel": "^4.1.1",
"eslint-plugin-flowtype": "^2.33.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^5.0.1",
"eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-react": "^7.0.1",
"flow-bin": "^0.46.0",
"jest-cli": "^20.0.1",
"jest-cli": "^20.0.3",
"nexe": "github:anmonteiro/nexe#master",
"prettier": "^1.3.1",
"rollup": "^0.41.6",
Expand Down
3 changes: 2 additions & 1 deletion src/js/__tests__/repl-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,11 @@ describe('startREPL', () => {
startREPL({});

const onCalls = on.mock.calls;
expect(on).toHaveBeenCalledTimes(3);
expect(on).toHaveBeenCalledTimes(4);
expect(onCalls[0][0]).toBe('line');
expect(onCalls[1][0]).toBe('SIGINT');
expect(onCalls[2][0]).toBe('close');
expect(onCalls[3][0]).toBe('SIGCONT');
});

it('sets event handlers for keypressing', () => {
Expand Down
Loading

0 comments on commit c8d5768

Please sign in to comment.