MCPcopy Create free account
hub / github.com/adobe/react-spectrum / run

Function run

packages/tailwindcss-react-aria-components/test/index.test.js:10–15  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

8global.structuredClone = a => JSON.parse(JSON.stringify(a));
9
10function run(content) {
11 let {currentTestName} = expect.getState();
12 return postcss(tailwind()).process(content, {
13 from: `${path.resolve(__filename)}?test=${currentTestName}`
14 });
15}
16
17test('variants', async () => {
18 let result = await run(css`

Callers 1

index.test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected