Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyjames committed Sep 17, 2024
1 parent e304102 commit d202c17
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions tests/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,20 +266,20 @@ describe("OpenFGA SDK", function () {
() =>
new OpenFgaApi({
...baseConfig,
telemetry: telConfig,
// telemetry: {
// metrics: {
// counterCredentialsRequest: {
// attributes: ["JUNK"] as any
// },
// histogramQueryDuration: {
// attributes: new Set<TelemetryAttribute>
// },
// histogramRequestDuration: {
// attributes: new Set<TelemetryAttribute>
// }
// }
// }
// telemetry: telConfig,
telemetry: {
metrics: {
counterCredentialsRequest: {
attributes: ["JUNK"] as any
},
histogramQueryDuration: {
attributes: new Set<TelemetryAttribute>
},
histogramRequestDuration: {
attributes: new Set<TelemetryAttribute>
}
}
}
})
).toThrow();
});
Expand Down

0 comments on commit d202c17

Please sign in to comment.