diff --git a/.neutrinorc.js b/.neutrinorc.js index 41b8019d4a1..7423ec67cab 100644 --- a/.neutrinorc.js +++ b/.neutrinorc.js @@ -128,6 +128,8 @@ module.exports = { '@neutrinojs/jest', { setupFilesAfterEnv: ['/tests/ui/unit/test-setup.js'], + // For more info, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1523376#c3 + browser: true, }, ], neutrino => { diff --git a/tests/ui/unit/react/groups.tests.jsx b/tests/ui/unit/react/groups_test.jsx similarity index 91% rename from tests/ui/unit/react/groups.tests.jsx rename to tests/ui/unit/react/groups_test.jsx index fab54d78f31..bd29434c7af 100644 --- a/tests/ui/unit/react/groups.tests.jsx +++ b/tests/ui/unit/react/groups_test.jsx @@ -45,7 +45,7 @@ describe('JobGroup component', () => { ).toEqual('2'); }); - it('should show a job and count of 2 when expanded, then re-collapsed', () => { + test('should show a job and count of 2 when expanded, then re-collapsed', () => { const jobGroup = mount( { ).toEqual('2'); }); - it('should show jobs, not counts when expanded', () => { + test('should show jobs, not counts when expanded', () => { const jobGroup = mount( { expect(jobGroup.find('.job-btn').length).toEqual(3); }); - it('should show jobs, not counts when globally expanded', () => { + test('should show jobs, not counts when globally expanded', () => { const groupCountsExpanded = true; const jobGroup = mount( { expect(jobGroup.find('.job-group-count').length).toEqual(0); }); - it('should hide duplicates by default', () => { + test('should hide duplicates by default', () => { const jobGroup = mount( { expect(jobGroup.find('.job-btn').length).toEqual(1); }); - it('should show 2 duplicates when set to show duplicates', () => { + test('should show 2 duplicates when set to show duplicates', () => { const duplicateJobsVisible = true; const jobGroup = mount( { expect(jobGroup.find('.job-btn').length).toEqual(2); }); - it('should show 2 duplicates when globally set to show duplicates', () => { + test('should show 2 duplicates when globally set to show duplicates', () => { const duplicateJobsVisible = true; const jobGroup = mount(