summaryrefslogtreecommitdiff
path: root/scripts/lib/glfm/render_wysiwyg_html_and_json.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/glfm/render_wysiwyg_html_and_json.js')
-rw-r--r--scripts/lib/glfm/render_wysiwyg_html_and_json.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/lib/glfm/render_wysiwyg_html_and_json.js b/scripts/lib/glfm/render_wysiwyg_html_and_json.js
index ed8bfdb4638..8f94f50d62b 100644
--- a/scripts/lib/glfm/render_wysiwyg_html_and_json.js
+++ b/scripts/lib/glfm/render_wysiwyg_html_and_json.js
@@ -1,6 +1,5 @@
import fs from 'fs';
import jsYaml from 'js-yaml';
-import { setTestTimeout } from 'jest/__helpers__/timeout';
import { renderHtmlAndJsonForAllExamples } from 'jest/content_editor/render_html_and_json_for_all_examples';
/* eslint-disable no-undef */
@@ -24,7 +23,7 @@ jest.mock('~/emoji');
// This script should be invoked via jest with the a command similar to the following:
// yarn jest --testMatch '**/render_wysiwyg_html_and_json.js' ./scripts/lib/glfm/render_wysiwyg_html_and_json.js
it('serializes html to prosemirror json', async () => {
- setTestTimeout(20000);
+ jest.setTimeout(20000);
const inputMarkdownTempfilePath = process.env.INPUT_MARKDOWN_YML_PATH;
expect(inputMarkdownTempfilePath).not.toBeUndefined();