mediawiki-skins-Vector/tests/jest/userLinks.test.js
bwang dd8cc5dfe8 Add snapshot class to sticky header tests
Change-Id: Id1383f234bd0518786feebbbb2d92f7345aa6e70
2022-05-12 10:51:43 -05:00

10 lines
222 B
JavaScript

const { userLinksHTML } = require( './userLinksData.js' );
beforeEach( () => {
document.body.innerHTML = userLinksHTML;
} );
test( 'UserLinks renders', () => {
expect( document.body.innerHTML ).toMatchSnapshot();
} );