@@ -68,7 +68,7 @@ describe('CoreUsageStatsClient', () => {
6868 } ) ;
6969
7070 describe ( '#incrementSavedObjectsImport' , ( ) => {
71- it ( 'does not throw an error if repository create operation fails' , async ( ) => {
71+ it ( 'does not throw an error if repository incrementCounter operation fails' , async ( ) => {
7272 const { usageStatsClient, repositoryMock } = setup ( ) ;
7373 repositoryMock . incrementCounter . mockRejectedValue ( new Error ( 'Oh no!' ) ) ;
7474
@@ -120,7 +120,7 @@ describe('CoreUsageStatsClient', () => {
120120 } ) ;
121121
122122 describe ( '#incrementSavedObjectsResolveImportErrors' , ( ) => {
123- it ( 'does not throw an error if repository create operation fails' , async ( ) => {
123+ it ( 'does not throw an error if repository incrementCounter operation fails' , async ( ) => {
124124 const { usageStatsClient, repositoryMock } = setup ( ) ;
125125 repositoryMock . incrementCounter . mockRejectedValue ( new Error ( 'Oh no!' ) ) ;
126126
@@ -173,7 +173,7 @@ describe('CoreUsageStatsClient', () => {
173173 } ) ;
174174
175175 describe ( '#incrementSavedObjectsExport' , ( ) => {
176- it ( 'does not throw an error if repository create operation fails' , async ( ) => {
176+ it ( 'does not throw an error if repository incrementCounter operation fails' , async ( ) => {
177177 const { usageStatsClient, repositoryMock } = setup ( ) ;
178178 repositoryMock . incrementCounter . mockRejectedValue ( new Error ( 'Oh no!' ) ) ;
179179
0 commit comments