Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit d5ff38e

Browse files
committed
bump utty to v1.0.2 and fix test bug
1 parent 0760410 commit d5ff38e

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "utty-node",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "An impl of utty for nodejs tty.",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",
@@ -39,7 +39,7 @@
3939
"@types/node": "^17.0.13",
4040
"nodeliketty": "^1.0.4",
4141
"strip-ansi": "^7.0.1",
42-
"utty": "^1.0.1"
42+
"utty": "^1.0.2"
4343
},
4444
"jest": {
4545
"extensionsToTreatAsEsm": [

src/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ describe("Test UNodeTty", () => {
4242
t.onResize(fn);
4343
const originRows = fake.rows;
4444
fake.rows++;
45-
expect(t.rows + 1).toBe(originRows + 1);
45+
expect(t.rows).toBe(originRows + 1);
4646
expect(called).toBeTruthy();
4747
});
4848
});

0 commit comments

Comments
 (0)