{"version":3,"file":"suite.cjs","sources":["../../../src/run-assertions/suite.js"],"sourcesContent":["export const rootSuite = { \n  desc: 'root', \n  suites: [], \n  tests: [], \n  hooks: { beforeAll: [], afterAll: [], beforeEach: [], afterEach: [] }, \n  fixtures: {}, \n  parent: null \n};\n\nlet currentSuite = rootSuite;\n\nexport function getCurrentSuite() {\n  return currentSuite;\n}\n\nexport function setCurrentSuite(suite) {\n  currentSuite = suite;\n}\n\nexport class Suite {\n  constructor(desc, mode = 'normal', annotations = {}) {\n    this.desc = desc;\n    this.mode = mode;\n    this.annotations = annotations;\n    this.suites = [];\n    this.tests = [];\n    this.hooks = { beforeAll: [], afterAll: [], beforeEach: [], afterEach: [] };\n    this.fixtures = {};\n    this.parent = null;\n  }\n}\n\nexport default {\n  rootSuite,\n  getCurrentSuite,\n  setCurrentSuite,\n  Suite,\n};\n"],"names":[],"mappings":";;AAAY,MAAC,SAAS,GAAG;AACzB,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,EAAE;AACZ,EAAE,KAAK,EAAE,EAAE;AACX,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;AACvE,EAAE,QAAQ,EAAE,EAAE;AACd,EAAE,MAAM,EAAE,IAAI;AACd;;AAEA,IAAI,YAAY,GAAG,SAAS;;AAErB,SAAS,eAAe,GAAG;AAClC,EAAE,OAAO,YAAY;AACrB;;AAEO,SAAS,eAAe,CAAC,KAAK,EAAE;AACvC,EAAE,YAAY,GAAG,KAAK;AACtB;;AAEO,MAAM,KAAK,CAAC;AACnB,EAAE,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,QAAQ,EAAE,WAAW,GAAG,EAAE,EAAE;AACvD,IAAI,IAAI,CAAC,IAAI,GAAG,IAAI;AACpB,IAAI,IAAI,CAAC,IAAI,GAAG,IAAI;AACpB,IAAI,IAAI,CAAC,WAAW,GAAG,WAAW;AAClC,IAAI,IAAI,CAAC,MAAM,GAAG,EAAE;AACpB,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE;AACnB,IAAI,IAAI,CAAC,KAAK,GAAG,EAAE,SAAS,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;AAC/E,IAAI,IAAI,CAAC,QAAQ,GAAG,EAAE;AACtB,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI;AACtB,EAAE;AACF;;;;;;;"}