aboutsummaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorUri Shaked2020-08-01 10:53:29 +0300
committerUri Shaked2020-08-01 10:53:29 +0300
commitbd259ff53a47d8b32fda66fddd0fd382e410e26c (patch)
treeb1a96a991a8fc9f4170a8e610bd1927ab6dea42a /demo
parentchore(deps): bump elliptic from 6.5.1 to 6.5.3 (#57) (diff)
downloadavr8js-bd259ff53a47d8b32fda66fddd0fd382e410e26c.tar.gz
avr8js-bd259ff53a47d8b32fda66fddd0fd382e410e26c.tar.bz2
avr8js-bd259ff53a47d8b32fda66fddd0fd382e410e26c.zip
test: disable demo project tests
otherwise, node 10 is broken on CI. see jsdom/jsdom#2961 for details.
Diffstat (limited to '')
-rw-r--r--demo/src/task-scheduler.spec.ts18
1 files changed, 16 insertions, 2 deletions
diff --git a/demo/src/task-scheduler.spec.ts b/demo/src/task-scheduler.spec.ts
index f5fb4bf..9b3eeff 100644
--- a/demo/src/task-scheduler.spec.ts
+++ b/demo/src/task-scheduler.spec.ts
@@ -1,11 +1,25 @@
/**
- * @jest-environment jsdom
+ * remove-me @jest-environment jsdom
*/
/// <reference lib="dom" />
import { MicroTaskScheduler } from './task-scheduler';
-describe('task-scheduler', () => {
+/*
+ * We're skipping this test due to JSDOM issue:
+ * https://github.com/jsdom/jsdom/issues/2961
+ *
+ * It should pass on Node >= 12.0, but since the core library
+ * is expected to run on Node >= 10.0, and this test only applies
+ * to the demo project, it's better disabling it for now than
+ * getting false negatives.
+ *
+ * When this test is eventually re-enabled, don't forget to remove
+ * the `remove-me` text at the top of this file to re-enable the
+ * loading of jsdom.
+ */
+// eslint-disable-next-line jest/no-disabled-tests
+describe.skip('task-scheduler', () => {
let taskScheduler: MicroTaskScheduler;
let task: jest.Mock;