Updating some of the full screen table code

This commit is contained in:
Jonathan Bobel
2025-04-22 10:45:11 -04:00
parent b6a6ffb2ab
commit 1b9e19072e
3 changed files with 4 additions and 25 deletions

View File

@@ -347,24 +347,4 @@ describe('FullscreenTable', () => {
});
describe("when the table is focused", () => {
beforeEach(() => {
// start module
window.GOVUK.modules.start();
tableFrame = document.querySelector('.fullscreen-scrollable-table');
tableFrame.focus();
});
test("it should make the parent frame a focus style", () => {
expect(container.classList.contains('js-focus-style')).toBe(true);
});
});
});