Skip to content

Commit

Permalink
chore(nice-grpc-web): fix failing tests (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
aikoven authored Oct 14, 2023
1 parent de41157 commit 0509986
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/nice-grpc-web/karma.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ export default (config: Config & Record<string, unknown>) => {
karmaTypescriptConfig: {
tsconfig: 'tsconfig.json',
compilerOptions: {
target: 'ES2015',
lib: ['ES2015', 'DOM', 'DOM.Iterable'],
target: 'ES2018',
lib: ['ES2018', 'DOM', 'DOM.Iterable'],
},
bundlerOptions: {
constants: {
Expand Down
2 changes: 1 addition & 1 deletion packages/nice-grpc-web/src/__tests__/unary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ const environment = detect();
new ClientError(
'/nice_grpc.test.Test2/TestUnary',
Status.UNIMPLEMENTED,
'[object Object]', // this is a bug in grpc-js
'The server does not implement the method /nice_grpc.test.Test2/TestUnary',
),
);
});
Expand Down

0 comments on commit 0509986

Please sign in to comment.