Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate remaining src/core/**/*.js files to typescript #117259

Merged
merged 24 commits into from
Nov 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
4ff11d6
migrate scoped_client_provider tests
pgayvallet Nov 3, 2021
441e6d1
migrate saved_objects_client to ts
pgayvallet Nov 3, 2021
62f2fc3
fix return values assertions
pgayvallet Nov 3, 2021
c5613fe
Merge remote-tracking branch 'upstream/main' into kbn-117123-migrate-…
pgayvallet Nov 4, 2021
ed543a9
start fixing violations for repository.test.ts
pgayvallet Nov 4, 2021
62ed850
fix ~750 violations, 201 left
pgayvallet Nov 4, 2021
f0ca78a
184 left
pgayvallet Nov 5, 2021
bde53ae
169 left
pgayvallet Nov 5, 2021
14793ec
150 left
pgayvallet Nov 5, 2021
aa5f959
132 left
pgayvallet Nov 5, 2021
f8d0b74
fixed `find` violations, 117 left
pgayvallet Nov 5, 2021
1bf858a
fixed `removeReferencesTo` violations, 114 left
pgayvallet Nov 5, 2021
6039ac0
fixed `delete` violations, 105 left
pgayvallet Nov 5, 2021
95ad9df
fixed `create` violations, 93 left
pgayvallet Nov 5, 2021
2ae62c5
fixed `checkConflicts` violations, 89 left
pgayvallet Nov 5, 2021
f114b9f
fixed most `bulkUpdate` violations, 60 left
pgayvallet Nov 5, 2021
c70b54b
fixed remaining `bulkUpdate` violations, 54 left
pgayvallet Nov 5, 2021
7515f68
fixed `bulkResolve` violations, 52 left
pgayvallet Nov 5, 2021
e8a55f2
fixed `bulkGet` violations, 37 left
pgayvallet Nov 5, 2021
635a78e
fixed most `bulkCreate` violations, 14 left
pgayvallet Nov 5, 2021
854c6ff
fixed last `bulkCreate` violations, 5 left
pgayvallet Nov 5, 2021
68b1d38
Everything but the SOR constructor
pgayvallet Nov 5, 2021
516ba2f
ignore warning on SOR private constructor
pgayvallet Nov 5, 2021
8864d98
Merge remote-tracking branch 'upstream/main' into kbn-117123-migrate-…
pgayvallet Nov 8, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,6 @@ export const mockDeleteLegacyUrlAliases = jest.fn() as jest.MockedFunction<
jest.mock('./legacy_url_aliases', () => ({
deleteLegacyUrlAliases: mockDeleteLegacyUrlAliases,
}));

export const mockGetSearchDsl = jest.fn();
jest.mock('./search_dsl/search_dsl', () => ({ getSearchDsl: mockGetSearchDsl }));
Loading