fix jest tests timing out in jenkins
Change-Id: I594d05c5375b20d9eff78487c1a84023ad65e438 Reviewed-on: https://gerrit.instructure.com/184792 Tested-by: Jenkins Reviewed-by: Ryan Shaw <ryan@instructure.com> QA-Review: Ryan Shaw <ryan@instructure.com> Product-Review: Ryan Shaw <ryan@instructure.com>
This commit is contained in:
parent
f49b3a77b1
commit
60df2bed3a
|
@ -222,9 +222,8 @@ export function itBehavesLikeADialog({
|
|||
confirmDialogOpen,
|
||||
getCancelDialogElt
|
||||
}) {
|
||||
/* eslint-disable jest/no-disabled-tests */
|
||||
// skipped because the close tests regularly timeout in jenkins
|
||||
describe.skip('behaves like a dialog', () => {
|
||||
describe('behaves like a dialog', () => {
|
||||
async function openTheDialog() {
|
||||
const fns = await render()
|
||||
const openDialogTrigger = getOpenDialogElt(fns)
|
||||
|
@ -251,5 +250,4 @@ export function itBehavesLikeADialog({
|
|||
expect(await waitForNoElement(() => confirmDialogOpen(fns))).toBe(true)
|
||||
})
|
||||
})
|
||||
/* eslint-enable jest/no-disabled-tests */
|
||||
}
|
||||
|
|
|
@ -234,7 +234,7 @@
|
|||
},
|
||||
"repository": "instructure/canvas-lms",
|
||||
"scripts": {
|
||||
"test": "concurrently --names \"packages,jest,karma\" \"yarn test:packages\" \"if [ \"$COVERAGE\" ]; then yarn test:jest:coverage; else yarn test:jest; fi\" \"if [ \"$COVERAGE\" ]; then yarn test:karma; else yarn test:karma:concurrently; fi\"",
|
||||
"test": "concurrently --names \"packages,jest,karma\" \"yarn test:packages\" \"if [ \"$COVERAGE\" ]; then yarn test:jest:coverage --maxWorkers 1; else yarn test:jest --maxWorkers 1; fi\" \"if [ \"$COVERAGE\" ]; then yarn test:karma; else yarn test:karma:concurrently; fi\"",
|
||||
"test:coverage": "script/generate_js_coverage",
|
||||
"test:watch": "concurrently --names \"jest,karma\" \"jest --watch .\" \"yarn test:karma:watch\"",
|
||||
"test:jest": "jest --color",
|
||||
|
|
Loading…
Reference in New Issue