mediawiki-extensions-Relate.../jest.setup.js
Jon Robson 71de06a682 Simplify the RelatedArticles extension to use Codex CSS components
Changes:
- Removes redundant styles now inside Codex
- With the new component, it's not possible to display 3 cards in a
single line at a tablet resolution, so the media query responsible
is bumped to apply only at the desktop threshold
- Decisions are documented in ADR

Bug: T286835
Change-Id: I493e8e601ccc31b3cf1f16c0b5a8975f12ef336c
2024-01-30 09:16:34 -08:00

10 lines
287 B
JavaScript

'use strict';
const wikimediaTestingUtils = require( '@wikimedia/mw-node-qunit' );
const { TextEncoder, TextDecoder } = require( 'util' );
global.TextEncoder = TextEncoder;
global.TextDecoder = TextDecoder;
wikimediaTestingUtils.setUp( /* disable QUnit sandboxing feature */ false );