manager icon indicating copy to clipboard operation
manager copied to clipboard

M3-5117: Remove __data__/types.ts and update affected files

Open DevDW opened this issue 3 years ago • 1 comments

Description

Removes __data__/types.ts and updates the files (mostly tests) that used it accordingly by bringing back cachedData/types.json (see https://github.com/linode/manager/pull/7777/files) to use instead.

How to test

Ensure that yarn up works with no TS errors; run the affected tests and ensure everything passes –

yarn test typesHelpers.test.ts
yarn test GetSearchEntities.test.ts
yarn test ResizeNodePoolDrawer.test.ts
yarn test BackupsTable.test.ts
yarn test BackupsDrawer.test.ts
yarn test BackupLinodes.test.ts

DevDW avatar Aug 01 '22 18:08 DevDW

~~I'm aware of the test failures uncovered by the unsuccessful check -- going to make a couple more pushes today fixing those tests~~ fixes pushed

DevDW avatar Aug 01 '22 18:08 DevDW