From e5359d09e2b99d7e8918ce8a21a658303f28a141 Mon Sep 17 00:00:00 2001 From: Xavier FACQ Date: Tue, 30 Jan 2024 22:42:30 +0100 Subject: [PATCH] [issue-2624] Try to change config (#2640) * [issue-2624] Try to change config * Let add a commit --- content/asciidoc-pages/support/index.adoc | 2 +- vitest-setup.ts | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/content/asciidoc-pages/support/index.adoc b/content/asciidoc-pages/support/index.adoc index b5aacb561..e9c07e173 100644 --- a/content/asciidoc-pages/support/index.adoc +++ b/content/asciidoc-pages/support/index.adoc @@ -1,5 +1,5 @@ = Temurin(TM) Support -:page-authors: gdams, karianna, sxa, tellison, SueChaplain, sxa555, mvitz, ParkerM, M-Davies, Malax, lasombra, practicalli-john, jeffalder, hendrikebbers, douph1, andrew-m-leonard, mr-david-owens, DanHeidinga, sophia-guo, zdtsw, adamfarley, garydgregory, mtughan +:page-authors: gdams, karianna, sxa, tellison, SueChaplain, sxa555, mvitz, ParkerM, M-Davies, Malax, lasombra, jeffalder, hendrikebbers, douph1, andrew-m-leonard, mr-david-owens, DanHeidinga, sophia-guo, zdtsw, adamfarley, garydgregory, mtughan :toc: :partialDir: _partials diff --git a/vitest-setup.ts b/vitest-setup.ts index a4fdefeb2..8893f6611 100644 --- a/vitest-setup.ts +++ b/vitest-setup.ts @@ -1,10 +1,15 @@ -import { expect, vi } from 'vitest' -import * as axeMatchers from 'vitest-axe/matchers' import React from 'react' -import 'vitest-axe/extend-expect' +import { expect, vi } from 'vitest' + import '@testing-library/jest-dom' + import 'vitest-canvas-mock' -import 'jest-canvas-mock'; +import 'vitest-axe/extend-expect' +import * as axeMatchers from 'vitest-axe/matchers' + +//import 'jest-canvas-mock'; + +vi.stubGlobal("jest", vi); expect.extend(axeMatchers); @@ -149,6 +154,3 @@ const IntersectionObserverMock = vi.fn(() => ({ })) vi.stubGlobal('IntersectionObserver', IntersectionObserverMock) - -vi.stubGlobal("jest", vi); -