Skip to content

Commit

Permalink
[internal] exported types that are for external testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Oct 7, 2021
1 parent 26de8e7 commit 54c1df3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
.PHONY: build test bundle
.PHONY: build test bundle lint

build: test

test: clean
lint:
deno lint --unstable
deno test --allow-all --unstable --reload --coverage=coverage --fail-fast tests/

test: clean
deno test --allow-all --unstable --reload --jobs --coverage=coverage --fail-fast tests/

testw: clean
deno test --allow-all --unstable --reload --jobs --watch --fail-fast tests/

cover:
deno coverage --unstable ./coverage --lcov > ./coverage/out.lcov
Expand Down
1 change: 1 addition & 0 deletions nats-base-client/headers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export interface MsgHdrs extends Iterable<[string, string[]]> {
set(k: string, v: string, match?: Match): void;
append(k: string, v: string, match?: Match): void;
has(k: string, match?: Match): boolean;
keys(): string[];
values(k: string, match?: Match): string[];
delete(k: string, match?: Match): void;
}
Expand Down
3 changes: 3 additions & 0 deletions nats-base-client/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export {
createInbox,
credsAuthenticator,
DebugEvents,
deferred,
DeliverPolicy,
DiscardPolicy,
Empty,
Expand All @@ -21,6 +22,7 @@ export {
jwtAuthenticator,
Match,
millis,
MsgHdrsImpl,
nanos,
NatsError,
nkeyAuthenticator,
Expand All @@ -44,6 +46,7 @@ export type {
ConsumerInfo,
ConsumerOpts,
ConsumerOptsBuilder,
Deferred,
DeliveryInfo,
JetStreamAccountStats,
JetStreamApiStats,
Expand Down

0 comments on commit 54c1df3

Please sign in to comment.