Skip to content

Commit 8cd38d5

Browse files
authored
Merge pull request #20 from Milly/improve-tests
Improve tests
2 parents c6ad8a8 + 023bed6 commit 8cd38d5

File tree

9 files changed

+352
-248
lines changed

9 files changed

+352
-248
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
deno task test
4040
timeout-minutes: 5
4141
- run: |
42-
deno coverage --unstable .coverage --lcov > coverage.lcov
42+
deno task coverage --lcov > coverage.lcov
4343
- uses: codecov/codecov-action@v1
4444
with:
4545
file: ./coverage.lcov

client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ import {
1111

1212
const msgidThreshold = 2 ** 32;
1313

14-
type Session = {
14+
/** @internal */
15+
export type Session = {
1516
send: (data: Command | Message) => Promise<void>;
1617
recv: (msgid: number) => Promise<Message>;
1718
};

0 commit comments

Comments
 (0)