Open6

[WIP] vitestのソースコードを読む

masa5555masa5555
  • suiteはcreateSuite関数を呼び出す
  • createSuite関数はcreateChainable関数を返す
export const suite = createSuite()
...
function createSuite() {
  return createChainable(
     ['concurrent', 'sequential', 'shuffle', 'skip', 'only', 'todo'],
     suiteFn,
  ) as unknown as SuiteAPI
}