Closed kemister85 closed 1 month ago
Ticket: INT-3303
Changes:
fixed existing console error in Storybook for Editor.stories as it was set to an array, but expected string.
Editor.stories
renamed cRender to pRender and updated to use Promise.
cRender
pRender
Promise
removed Chain.op from all tests.
Chain.op
moved cleanupTinymce to alien/TestHelper.ts and renamed to cleanupGlobalTinymce to be clearer.
cleanupTinymce
cleanupGlobalTinymce
created VAILID_API_KEY variable to use string interpolation for replacing api-key="a-fake-api-key".
VAILID_API_KEY
api-key="a-fake-api-key"
converted all tests to use describe, it conventions.
describe, it
updated InitTest.ts to iterate over Arr.each to isolate each test run for editor major versions.
[x] Test yarn build
yarn build
[x] Test yarn storybook
yarn storybook
[x] Test yarn test-manual
yarn test-manual
Special thanks to @tiny-ben-tran for his time/guidance and assistance in helping me with this PR.
Ticket: INT-3303
Changes:
fixed existing console error in Storybook for
Editor.stories
as it was set to an array, but expected string.renamed
cRender
topRender
and updated to usePromise
.removed
Chain.op
from all tests.moved
cleanupTinymce
to alien/TestHelper.ts and renamed tocleanupGlobalTinymce
to be clearer.created
VAILID_API_KEY
variable to use string interpolation for replacingapi-key="a-fake-api-key"
.converted all tests to use
describe, it
conventions.updated InitTest.ts to iterate over Arr.each to isolate each test run for editor major versions.
[x] Test
yarn build
[x] Test
yarn storybook
[x] Test
yarn test-manual