Skip to content

Commit

Permalink
feat: remove useless test code
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhoue-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Jun 25, 2023
1 parent 3c6761c commit 5c5d53e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/public/saved_objects/saved_objects_client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import { SavedObjectsClient } from './saved_objects_client';
import { SimpleSavedObject } from './simple_saved_object';
import { httpServiceMock } from '../http/http_service.mock';
import { workspacesServiceMock } from '../fatal_errors/fatal_errors_service.mock';

describe('SavedObjectsClient', () => {
const updatedAt = new Date().toISOString();
Expand All @@ -44,11 +43,10 @@ describe('SavedObjectsClient', () => {
};

const http = httpServiceMock.createStartContract();
const workspaces = workspacesServiceMock.createStartContract();
let savedObjectsClient: SavedObjectsClient;

beforeEach(() => {
savedObjectsClient = new SavedObjectsClient(http, workspaces);
savedObjectsClient = new SavedObjectsClient(http);
http.fetch.mockClear();
});

Expand Down

0 comments on commit 5c5d53e

Please sign in to comment.