Skip to content

Commit

Permalink
fix test with Nelson 0.5.8, use node 14.17.6 (#18)
Browse files Browse the repository at this point in the history
* fix test with Nelson 0.5.8, use node 14.17.6

* use socket-io v4.2.0

* prettier

* 1.4.1 update date
  • Loading branch information
Nelson-numerical-software authored Sep 26, 2021
1 parent 9944943 commit 70d0748
Show file tree
Hide file tree
Showing 6 changed files with 307 additions and 177 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.15.4]
node-version: [14.17.6]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.15.4
14.17.6
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.4.1 (2021-09-26)

- fix test with Nelson >=v0.5.8
- require Node.js 14.17.6
- update to Socket.IO v4.0

## 1.4.0 (2021-03-25)

- update to Socket.IO v4.0 (requires Nelson >= v0.5.3)
Expand Down
2 changes: 1 addition & 1 deletion lib/nelsonCloud.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ describe('Nelson SocketIO tests', function () {
it('should receive prompt', function (done) {
setTimeout(() => {
socket.on('prompt', function (data) {
const expectedResult = '--> ';
const expectedResult = '>> ';
expect(data).toEqual(expectedResult);
done();
});
Expand Down
Loading

0 comments on commit 70d0748

Please sign in to comment.