File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { setProjectAnnotations } from '@storybook/react-vite' ;
2- import * as projectAnnotations from './preview' ;
1+ import { setProjectAnnotations } from '@storybook/react-vite'
2+ import * as projectAnnotations from './preview'
33
44// This is an important step to apply the right configuration when testing your stories.
55// More info at: https://storybook.js.org/docs/api/portable-stories/portable-stories-vitest#setprojectannotations
6- setProjectAnnotations ( [ projectAnnotations ] ) ;
6+ setProjectAnnotations ( [ projectAnnotations ] )
Original file line number Diff line number Diff line change 11import '@solana-foundation/ms-tools-config/test/setup.ts'
22import '@testing-library/jest-dom/vitest'
3+
4+ import React from 'react'
35import { cleanup } from '@testing-library/react'
46import { afterEach , vi } from 'vitest'
5- import React from 'react'
67
78// Ensure React is available globally
89global . React = React
You can’t perform that action at this time.
0 commit comments