Skip to content

Commit

Permalink
Fix some incorrect spec verbiage
Browse files Browse the repository at this point in the history
Probably left over copy/paste from the rollbar specs.
  • Loading branch information
mattdrees committed Nov 13, 2023
1 parent e83ca93 commit 5a7b393
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/datadog.config.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as module from './datadog.config'

describe('dataDogConfig', () => {
process.env.DATADOG_RUM_CLIENT_TOKEN = '1234'
describe('pipe $log to Rollbar', () => {
describe('configure Datadog RUM', () => {
beforeEach(() => {
// Use rollbar config function somewhere
angular.module('testDataDogConfig', ['environment'])
Expand All @@ -14,7 +14,7 @@ describe('dataDogConfig', () => {
inject(() => {})
})

it('should send $log.log to rollbar and call through to $log', () => {
it('should call init() and start session reply recording', () => {
expect(window.datadogRum).not.toEqual(undefined)
expect(window.datadogRum.init).toEqual(expect.any(Function))
expect(window.datadogRum.startSessionReplayRecording).toEqual(expect.any(Function))
Expand Down

0 comments on commit 5a7b393

Please sign in to comment.