Commit 784449a4 authored by Lukas Eipert's avatar Lukas Eipert

Utilize jest-environment-jsdom-sixteen for tests

This allows us to utilize the newest version of jsdom (16) in jest. Our
current version of jest relies on version 11. The newer version of
jsdom brings a lot of features, e.g. Custom Elements which we need for
gl_emoji tests.
parent 8bde5395
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
const path = require('path'); const path = require('path');
const { ErrorWithStack } = require('jest-util'); const { ErrorWithStack } = require('jest-util');
const JSDOMEnvironment = require('jest-environment-jsdom'); const JSDOMEnvironment = require('jest-environment-jsdom-sixteen');
const ROOT_PATH = path.resolve(__dirname, '../..'); const ROOT_PATH = path.resolve(__dirname, '../..');
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment