mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
10 lines
353 B
JavaScript
10 lines
353 B
JavaScript
import { afterAll, describe, it } from 'vitest'
|
|
import { RuleTester } from 'eslint'
|
|
|
|
// ESLint's RuleTester discovers the test framework via these hooks. The repo's
|
|
// vitest configs deliberately avoid `globals: true`, so wire them explicitly.
|
|
RuleTester.afterAll = afterAll
|
|
RuleTester.describe = describe
|
|
RuleTester.it = it
|
|
RuleTester.itOnly = it.only
|