Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Daphne Yang <[email protected]>
  • Loading branch information
peternhale and daphne-sfdc authored Aug 22, 2024
1 parent 888e6e0 commit d09cf43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/services/serviceProvider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ describe('ServiceProvider', () => {
expect(hasService).toBe(false);
});
it('should set a new service instance successfully', () => {
const telemetryServiceInstance = new TelemetryService(); // create a real instance of Logger
const telemetryServiceInstance = new TelemetryService(); // create a real instance of TelemetryService
ServiceProvider.setService(
ServiceType.Telemetry,
'instance1',
Expand All @@ -171,7 +171,7 @@ describe('ServiceProvider', () => {
});

it('should throw an error when trying to set a service instance that already exists', () => {
const loggerInstance = new TelemetryService(); // create a real instance of Logger
const telemetryServiceInstance = new TelemetryService(); // create a real instance of TelemetryService
ServiceProvider.setService(
ServiceType.Telemetry,
'instance1',
Expand Down

0 comments on commit d09cf43

Please sign in to comment.