Skip to content

Commit 56bc9d2

Browse files
committed
Remove tests that start the CT more than once (not supported anymore)
1 parent 56b3fc6 commit 56bc9d2

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

packages/dd-trace/test/crashtracking/crashtracker.spec.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,21 +55,6 @@ describeNotWindows('crashtracker', () => {
5555
sinon.assert.notCalled(log.error)
5656
})
5757

58-
it('should initialize the binding only once', () => {
59-
crashtracker.start(config)
60-
crashtracker.start(config)
61-
62-
sinon.assert.calledOnce(binding.init)
63-
})
64-
65-
it('should reconfigure when started multiple times', () => {
66-
crashtracker.start(config)
67-
crashtracker.start(config)
68-
69-
sinon.assert.called(binding.updateConfig)
70-
sinon.assert.called(binding.updateMetadata)
71-
})
72-
7358
it('should handle errors', () => {
7459
crashtracker.start(null)
7560

0 commit comments

Comments
 (0)