@sprucelabs/spruce-cli 17.1.40 → 17.1.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (423) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/build/__tests__/behavioral/AddingADependency.test.js +10 -12
  3. package/build/__tests__/behavioral/AddingADependency.test.js.map +1 -1
  4. package/build/__tests__/behavioral/BlockingCommands.test.js +3 -5
  5. package/build/__tests__/behavioral/BlockingCommands.test.js.map +1 -1
  6. package/build/__tests__/behavioral/BootingTheCli.test.js +3 -3
  7. package/build/__tests__/behavioral/BootingTheCli.test.js.map +1 -1
  8. package/build/__tests__/behavioral/BootingWithBadFiles.test.js +7 -7
  9. package/build/__tests__/behavioral/BootingWithBadFiles.test.js.map +1 -1
  10. package/build/__tests__/behavioral/CreatingAConversationTopic.test.js +13 -13
  11. package/build/__tests__/behavioral/CreatingAConversationTopic.test.js.map +1 -1
  12. package/build/__tests__/behavioral/CreatingSchemasWithGenerics.test.js +10 -10
  13. package/build/__tests__/behavioral/CreatingSchemasWithGenerics.test.js.map +1 -1
  14. package/build/__tests__/behavioral/DeployingASkill.test.js +32 -34
  15. package/build/__tests__/behavioral/DeployingASkill.test.js.map +1 -1
  16. package/build/__tests__/behavioral/DeployingToSandbox.test.js +15 -17
  17. package/build/__tests__/behavioral/DeployingToSandbox.test.js.map +1 -1
  18. package/build/__tests__/behavioral/EnablingAndDisablingCache.test.js +11 -13
  19. package/build/__tests__/behavioral/EnablingAndDisablingCache.test.js.map +1 -1
  20. package/build/__tests__/behavioral/GettingCliVersion.test.js +4 -4
  21. package/build/__tests__/behavioral/GettingCliVersion.test.js.map +1 -1
  22. package/build/__tests__/behavioral/InstallingASkillAtAnOrg.test.js +11 -13
  23. package/build/__tests__/behavioral/InstallingASkillAtAnOrg.test.js.map +1 -1
  24. package/build/__tests__/behavioral/ListeningToCoreEvents.test.js +4 -4
  25. package/build/__tests__/behavioral/ListeningToCoreEvents.test.js.map +1 -1
  26. package/build/__tests__/behavioral/LoggingInAsASkill.test.js +14 -16
  27. package/build/__tests__/behavioral/LoggingInAsASkill.test.js.map +1 -1
  28. package/build/__tests__/behavioral/ManagingDependencies.test.js +9 -9
  29. package/build/__tests__/behavioral/ManagingDependencies.test.js.map +1 -1
  30. package/build/__tests__/behavioral/OverridingCommandsInPackageJson.test.js +3 -3
  31. package/build/__tests__/behavioral/OverridingCommandsInPackageJson.test.js.map +1 -1
  32. package/build/__tests__/behavioral/RebuildingASkill.test.js +4 -6
  33. package/build/__tests__/behavioral/RebuildingASkill.test.js.map +1 -1
  34. package/build/__tests__/behavioral/RegisteringConversationsOnBoot.test.js +4 -4
  35. package/build/__tests__/behavioral/RegisteringConversationsOnBoot.test.js.map +1 -1
  36. package/build/__tests__/behavioral/RegisteringEventsOnBoot.test.js +7 -7
  37. package/build/__tests__/behavioral/RegisteringEventsOnBoot.test.js.map +1 -1
  38. package/build/__tests__/behavioral/RegisteringGlobalEvents.test.js +11 -11
  39. package/build/__tests__/behavioral/RegisteringGlobalEvents.test.js.map +1 -1
  40. package/build/__tests__/behavioral/RegisteringSkillViewOnBoot.test.js +6 -6
  41. package/build/__tests__/behavioral/RegisteringSkillViewOnBoot.test.js.map +1 -1
  42. package/build/__tests__/behavioral/RememberingUpgradeSelections.test.js +5 -5
  43. package/build/__tests__/behavioral/RememberingUpgradeSelections.test.js.map +1 -1
  44. package/build/__tests__/behavioral/SettingLogTransportsInASkill.test.js +10 -12
  45. package/build/__tests__/behavioral/SettingLogTransportsInASkill.test.js.map +1 -1
  46. package/build/__tests__/behavioral/SettingRemote.test.js +9 -9
  47. package/build/__tests__/behavioral/SettingRemote.test.js.map +1 -1
  48. package/build/__tests__/behavioral/SettingUpASkillForTesting.test.js +10 -10
  49. package/build/__tests__/behavioral/SettingUpASkillForTesting.test.js.map +1 -1
  50. package/build/__tests__/behavioral/SettingUpSchemasForModuleDistribution.test.js +29 -31
  51. package/build/__tests__/behavioral/SettingUpSchemasForModuleDistribution.test.js.map +1 -1
  52. package/build/__tests__/behavioral/SettingUpVscode.test.js +10 -10
  53. package/build/__tests__/behavioral/SettingUpVscode.test.js.map +1 -1
  54. package/build/__tests__/behavioral/SyncingEventsOnlyFromDependencies.test.js +13 -13
  55. package/build/__tests__/behavioral/SyncingEventsOnlyFromDependencies.test.js.map +1 -1
  56. package/build/__tests__/behavioral/TestReporterSettingsRemembered.test.js +6 -6
  57. package/build/__tests__/behavioral/TestReporterSettingsRemembered.test.js.map +1 -1
  58. package/build/__tests__/behavioral/TestingAConversation.test.js +17 -17
  59. package/build/__tests__/behavioral/TestingAConversation.test.js.map +1 -1
  60. package/build/__tests__/behavioral/TestingDataStores.test.js +13 -13
  61. package/build/__tests__/behavioral/TestingDataStores.test.js.map +1 -1
  62. package/build/__tests__/behavioral/WatchingSkillViews.test.js +15 -15
  63. package/build/__tests__/behavioral/WatchingSkillViews.test.js.map +1 -1
  64. package/build/__tests__/behavioral/errors/CreatingANewErrorBuilder.test.js +15 -15
  65. package/build/__tests__/behavioral/errors/CreatingANewErrorBuilder.test.js.map +1 -1
  66. package/build/__tests__/behavioral/errors/KeepingErrorClassInSync.test.js +8 -8
  67. package/build/__tests__/behavioral/errors/KeepingErrorClassInSync.test.js.map +1 -1
  68. package/build/__tests__/behavioral/errors/KeepingErrorsInSync.test.js +32 -32
  69. package/build/__tests__/behavioral/errors/KeepingErrorsInSync.test.js.map +1 -1
  70. package/build/__tests__/behavioral/errors/SettingUpErrors.test.js +4 -6
  71. package/build/__tests__/behavioral/errors/SettingUpErrors.test.js.map +1 -1
  72. package/build/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.js +25 -25
  73. package/build/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.js.map +1 -1
  74. package/build/__tests__/behavioral/events/CreatingAListener.test.js +29 -31
  75. package/build/__tests__/behavioral/events/CreatingAListener.test.js.map +1 -1
  76. package/build/__tests__/behavioral/events/CreatingAnEvent.test.js +26 -28
  77. package/build/__tests__/behavioral/events/CreatingAnEvent.test.js.map +1 -1
  78. package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js +22 -22
  79. package/build/__tests__/behavioral/events/KeepingEventsInSync.test.js.map +1 -1
  80. package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js +38 -38
  81. package/build/__tests__/behavioral/events/KeepingEventsInSync2.test.js.map +1 -1
  82. package/build/__tests__/behavioral/events/KeepingListenersInSync.test.js +7 -7
  83. package/build/__tests__/behavioral/events/KeepingListenersInSync.test.js.map +1 -1
  84. package/build/__tests__/behavioral/events/ListeningToAnEventYouCreate.test.js +6 -6
  85. package/build/__tests__/behavioral/events/ListeningToAnEventYouCreate.test.js.map +1 -1
  86. package/build/__tests__/behavioral/events/SettingUpEvents.test.js +4 -4
  87. package/build/__tests__/behavioral/events/SettingUpEvents.test.js.map +1 -1
  88. package/build/__tests__/behavioral/events/SkillEmitsBootEvents.test.js +3 -5
  89. package/build/__tests__/behavioral/events/SkillEmitsBootEvents.test.js.map +1 -1
  90. package/build/__tests__/behavioral/node/CreatingANodeModule.test.js +6 -6
  91. package/build/__tests__/behavioral/node/CreatingANodeModule.test.js.map +1 -1
  92. package/build/__tests__/behavioral/onboard/StartingOnboarding.test.js +6 -6
  93. package/build/__tests__/behavioral/onboard/StartingOnboarding.test.js.map +1 -1
  94. package/build/__tests__/behavioral/organization/CreatingAnOrg.test.js +6 -6
  95. package/build/__tests__/behavioral/organization/CreatingAnOrg.test.js.map +1 -1
  96. package/build/__tests__/behavioral/permissions/CreatingPermissions.test.js +3 -3
  97. package/build/__tests__/behavioral/permissions/CreatingPermissions.test.js.map +1 -1
  98. package/build/__tests__/behavioral/person/LoggingInAsPerson.test.js +14 -16
  99. package/build/__tests__/behavioral/person/LoggingInAsPerson.test.js.map +1 -1
  100. package/build/__tests__/behavioral/person/SeeWhoIsLoggedIn.test.js +7 -7
  101. package/build/__tests__/behavioral/person/SeeWhoIsLoggedIn.test.js.map +1 -1
  102. package/build/__tests__/behavioral/polish/SettingUpPolish.test.js +8 -8
  103. package/build/__tests__/behavioral/polish/SettingUpPolish.test.js.map +1 -1
  104. package/build/__tests__/behavioral/schemas/CreatingANewSchemaBuilder.test.js +23 -25
  105. package/build/__tests__/behavioral/schemas/CreatingANewSchemaBuilder.test.js.map +1 -1
  106. package/build/__tests__/behavioral/schemas/GeneratingFieldTypesOnly.test.js +7 -7
  107. package/build/__tests__/behavioral/schemas/GeneratingFieldTypesOnly.test.js.map +1 -1
  108. package/build/__tests__/behavioral/schemas/GettingSchemasFromHealthCheck.test.js +6 -6
  109. package/build/__tests__/behavioral/schemas/GettingSchemasFromHealthCheck.test.js.map +1 -1
  110. package/build/__tests__/behavioral/schemas/HandlesRelatedSchemas.test.js +18 -18
  111. package/build/__tests__/behavioral/schemas/HandlesRelatedSchemas.test.js.map +1 -1
  112. package/build/__tests__/behavioral/schemas/ImportingSchemaImports.test.js +7 -7
  113. package/build/__tests__/behavioral/schemas/ImportingSchemaImports.test.js.map +1 -1
  114. package/build/__tests__/behavioral/schemas/KeepingSchemasInSync.test.js +62 -64
  115. package/build/__tests__/behavioral/schemas/KeepingSchemasInSync.test.js.map +1 -1
  116. package/build/__tests__/behavioral/schemas/SettingUpSchemas.test.js +6 -8
  117. package/build/__tests__/behavioral/schemas/SettingUpSchemas.test.js.map +1 -1
  118. package/build/__tests__/behavioral/schemas/SyncingBadSchemasProvidesHelpfulErrorMessages.test.js +4 -6
  119. package/build/__tests__/behavioral/schemas/SyncingBadSchemasProvidesHelpfulErrorMessages.test.js.map +1 -1
  120. package/build/__tests__/behavioral/schemas/UsingSchemasInCli.test.d.ts +1 -1
  121. package/build/__tests__/behavioral/schemas/UsingSchemasInCli.test.js +4 -4
  122. package/build/__tests__/behavioral/schemas/UsingSchemasInCli.test.js.map +1 -1
  123. package/build/__tests__/behavioral/skill/BootingASkill.test.js +12 -12
  124. package/build/__tests__/behavioral/skill/BootingASkill.test.js.map +1 -1
  125. package/build/__tests__/behavioral/skill/CreatingASkill.test.js +5 -5
  126. package/build/__tests__/behavioral/skill/CreatingASkill.test.js.map +1 -1
  127. package/build/__tests__/behavioral/skill/RegisteringASkill.test.js +12 -14
  128. package/build/__tests__/behavioral/skill/RegisteringASkill.test.js.map +1 -1
  129. package/build/__tests__/behavioral/skill/SettingUpASkill.test.js +29 -29
  130. package/build/__tests__/behavioral/skill/SettingUpASkill.test.js.map +1 -1
  131. package/build/__tests__/behavioral/stores/CreatingADataStore.test.js +26 -28
  132. package/build/__tests__/behavioral/stores/CreatingADataStore.test.js.map +1 -1
  133. package/build/__tests__/behavioral/stores/KeepingDataStoresInSync.test.js +8 -10
  134. package/build/__tests__/behavioral/stores/KeepingDataStoresInSync.test.js.map +1 -1
  135. package/build/__tests__/behavioral/tests/CreatingATest.test.js +10 -10
  136. package/build/__tests__/behavioral/tests/CreatingATest.test.js.map +1 -1
  137. package/build/__tests__/behavioral/tests/RunningTests.test.js +8 -10
  138. package/build/__tests__/behavioral/tests/RunningTests.test.js.map +1 -1
  139. package/build/__tests__/behavioral/tests/SelectingAnAbstractTestClass.test.js +17 -17
  140. package/build/__tests__/behavioral/tests/SelectingAnAbstractTestClass.test.js.map +1 -1
  141. package/build/__tests__/behavioral/tests/SettingUpTests.test.js +3 -5
  142. package/build/__tests__/behavioral/tests/SettingUpTests.test.js.map +1 -1
  143. package/build/__tests__/behavioral/upgrading/UpdatingDependencies.test.js +8 -8
  144. package/build/__tests__/behavioral/upgrading/UpdatingDependencies.test.js.map +1 -1
  145. package/build/__tests__/behavioral/upgrading/UpdatingDependencies2.test.js +7 -7
  146. package/build/__tests__/behavioral/upgrading/UpdatingDependencies2.test.js.map +1 -1
  147. package/build/__tests__/behavioral/upgrading/UpgradingANodeModule.test.js +6 -6
  148. package/build/__tests__/behavioral/upgrading/UpgradingANodeModule.test.js.map +1 -1
  149. package/build/__tests__/behavioral/upgrading/UpgradingASkill.test.js +15 -15
  150. package/build/__tests__/behavioral/upgrading/UpgradingASkill.test.js.map +1 -1
  151. package/build/__tests__/behavioral/upgrading/UpgradingASkill2.test.js +24 -24
  152. package/build/__tests__/behavioral/upgrading/UpgradingASkill2.test.js.map +1 -1
  153. package/build/__tests__/behavioral/upgrading/UpgradingASkill3.test.js +22 -22
  154. package/build/__tests__/behavioral/upgrading/UpgradingASkill3.test.js.map +1 -1
  155. package/build/__tests__/behavioral/upgrading/UpgradingASkill4.test.js +10 -10
  156. package/build/__tests__/behavioral/upgrading/UpgradingASkill4.test.js.map +1 -1
  157. package/build/__tests__/behavioral/upgrading/UpgradingASkill5.test.js +9 -9
  158. package/build/__tests__/behavioral/upgrading/UpgradingASkill5.test.js.map +1 -1
  159. package/build/__tests__/behavioral/upgrading/UpgradingWithListeners.test.js +4 -4
  160. package/build/__tests__/behavioral/upgrading/UpgradingWithListeners.test.js.map +1 -1
  161. package/build/__tests__/behavioral/upgrading/UpgradingWithSandboxFeatureInstalled.test.js +9 -9
  162. package/build/__tests__/behavioral/upgrading/UpgradingWithSandboxFeatureInstalled.test.js.map +1 -1
  163. package/build/__tests__/behavioral/views/CreatingASkillView.test.js +28 -30
  164. package/build/__tests__/behavioral/views/CreatingASkillView.test.js.map +1 -1
  165. package/build/__tests__/behavioral/views/CreatingATheme.test.js +9 -11
  166. package/build/__tests__/behavioral/views/CreatingATheme.test.js.map +1 -1
  167. package/build/__tests__/behavioral/views/KeepingViewsInSync.test.js +8 -8
  168. package/build/__tests__/behavioral/views/KeepingViewsInSync.test.js.map +1 -1
  169. package/build/__tests__/behavioral/views/SettingUpViews.test.js +5 -5
  170. package/build/__tests__/behavioral/views/SettingUpViews.test.js.map +1 -1
  171. package/build/__tests__/behavioral/views/TestingViewControllers.test.js +12 -12
  172. package/build/__tests__/behavioral/views/TestingViewControllers.test.js.map +1 -1
  173. package/build/__tests__/behavioral/watchers/WatchingForChanges.test.js +10 -10
  174. package/build/__tests__/behavioral/watchers/WatchingForChanges.test.js.map +1 -1
  175. package/build/__tests__/implementation/ActionExecuter.test.js +5 -5
  176. package/build/__tests__/implementation/ActionExecuter.test.js.map +1 -1
  177. package/build/__tests__/implementation/ActionExecuter2.test.js +30 -30
  178. package/build/__tests__/implementation/ActionExecuter2.test.js.map +1 -1
  179. package/build/__tests__/implementation/ActionExecuter3.test.js +3 -5
  180. package/build/__tests__/implementation/ActionExecuter3.test.js.map +1 -1
  181. package/build/__tests__/implementation/ActionExecuter4.test.js +2 -4
  182. package/build/__tests__/implementation/ActionExecuter4.test.js.map +1 -1
  183. package/build/__tests__/implementation/ArgParser.test.d.ts +1 -1
  184. package/build/__tests__/implementation/ArgParser.test.js +7 -7
  185. package/build/__tests__/implementation/ArgParser.test.js.map +1 -1
  186. package/build/__tests__/implementation/BuildService.test.js +4 -4
  187. package/build/__tests__/implementation/BuildService.test.js.map +1 -1
  188. package/build/__tests__/implementation/BulkImporting.test.d.ts +1 -1
  189. package/build/__tests__/implementation/BulkImporting.test.js +20 -22
  190. package/build/__tests__/implementation/BulkImporting.test.js.map +1 -1
  191. package/build/__tests__/implementation/CachingImports.test.js +3 -3
  192. package/build/__tests__/implementation/CachingImports.test.js.map +1 -1
  193. package/build/__tests__/implementation/CommandOptionBuilder.test.js +12 -12
  194. package/build/__tests__/implementation/CommandOptionBuilder.test.js.map +1 -1
  195. package/build/__tests__/implementation/CommanderCommandResultMapper.test.d.ts +1 -1
  196. package/build/__tests__/implementation/CommanderCommandResultMapper.test.js +13 -13
  197. package/build/__tests__/implementation/CommanderCommandResultMapper.test.js.map +1 -1
  198. package/build/__tests__/implementation/DataStoreStore.test.js +16 -18
  199. package/build/__tests__/implementation/DataStoreStore.test.js.map +1 -1
  200. package/build/__tests__/implementation/DeletingOrphanedSchemaDefinitions.test.js +6 -6
  201. package/build/__tests__/implementation/DeletingOrphanedSchemaDefinitions.test.js.map +1 -1
  202. package/build/__tests__/implementation/EventContractCleanerUtil.test.d.ts +1 -1
  203. package/build/__tests__/implementation/EventContractCleanerUtil.test.js +7 -7
  204. package/build/__tests__/implementation/EventContractCleanerUtil.test.js.map +1 -1
  205. package/build/__tests__/implementation/EventStore.test.js +27 -29
  206. package/build/__tests__/implementation/EventStore.test.js.map +1 -1
  207. package/build/__tests__/implementation/EventTemplateItemBuilder.test.js +12 -12
  208. package/build/__tests__/implementation/EventTemplateItemBuilder.test.js.map +1 -1
  209. package/build/__tests__/implementation/FeatureCommandAttacher.test.js +23 -23
  210. package/build/__tests__/implementation/FeatureCommandAttacher.test.js.map +1 -1
  211. package/build/__tests__/implementation/FeatureFixture.test.js +7 -7
  212. package/build/__tests__/implementation/FeatureFixture.test.js.map +1 -1
  213. package/build/__tests__/implementation/FeatureInstaller.test.js +8 -8
  214. package/build/__tests__/implementation/FeatureInstaller.test.js.map +1 -1
  215. package/build/__tests__/implementation/FeaturesUtil.test.d.ts +1 -1
  216. package/build/__tests__/implementation/FeaturesUtil.test.js +4 -4
  217. package/build/__tests__/implementation/FeaturesUtil.test.js.map +1 -1
  218. package/build/__tests__/implementation/FieldTemplateItemBuilder.test.js +11 -11
  219. package/build/__tests__/implementation/FieldTemplateItemBuilder.test.js.map +1 -1
  220. package/build/__tests__/implementation/GlobalEmitter.js +3 -3
  221. package/build/__tests__/implementation/GlobalEmitter.js.map +1 -1
  222. package/build/__tests__/implementation/Introspection.test.js +4 -4
  223. package/build/__tests__/implementation/Introspection.test.js.map +1 -1
  224. package/build/__tests__/implementation/JestJsonParser.test.d.ts +1 -1
  225. package/build/__tests__/implementation/JestJsonParser.test.js +31 -31
  226. package/build/__tests__/implementation/JestJsonParser.test.js.map +1 -1
  227. package/build/__tests__/implementation/LintService.test.js +3 -3
  228. package/build/__tests__/implementation/LintService.test.js.map +1 -1
  229. package/build/__tests__/implementation/ListenerStore.test.js +3 -3
  230. package/build/__tests__/implementation/ListenerStore.test.js.map +1 -1
  231. package/build/__tests__/implementation/OnboardingScriptLoader.test.js +9 -9
  232. package/build/__tests__/implementation/OnboardingScriptLoader.test.js.map +1 -1
  233. package/build/__tests__/implementation/OnboardingScriptPlayer.test.js +17 -17
  234. package/build/__tests__/implementation/OnboardingScriptPlayer.test.js.map +1 -1
  235. package/build/__tests__/implementation/OnboardingStore.test.js +14 -14
  236. package/build/__tests__/implementation/OnboardingStore.test.js.map +1 -1
  237. package/build/__tests__/implementation/OrganizationStore.test.js +10 -10
  238. package/build/__tests__/implementation/OrganizationStore.test.js.map +1 -1
  239. package/build/__tests__/implementation/ParentTestFinder.test.js +6 -6
  240. package/build/__tests__/implementation/ParentTestFinder.test.js.map +1 -1
  241. package/build/__tests__/implementation/PkgService.test.js +8 -8
  242. package/build/__tests__/implementation/PkgService.test.js.map +1 -1
  243. package/build/__tests__/implementation/SchemaStore.test.js +30 -32
  244. package/build/__tests__/implementation/SchemaStore.test.js.map +1 -1
  245. package/build/__tests__/implementation/SchemaTemplateItemBuilder.test.js +10 -10
  246. package/build/__tests__/implementation/SchemaTemplateItemBuilder.test.js.map +1 -1
  247. package/build/__tests__/implementation/SchemaValueTypeWriter.test.js +13 -13
  248. package/build/__tests__/implementation/SchemaValueTypeWriter.test.js.map +1 -1
  249. package/build/__tests__/implementation/ServiceFactory.test.js +3 -3
  250. package/build/__tests__/implementation/ServiceFactory.test.js.map +1 -1
  251. package/build/__tests__/implementation/SettingUpANodeModule.test.js +4 -6
  252. package/build/__tests__/implementation/SettingUpANodeModule.test.js.map +1 -1
  253. package/build/__tests__/implementation/SkillStore.test.js +25 -27
  254. package/build/__tests__/implementation/SkillStore.test.js.map +1 -1
  255. package/build/__tests__/implementation/StoreFeature.test.js +4 -4
  256. package/build/__tests__/implementation/StoreFeature.test.js.map +1 -1
  257. package/build/__tests__/implementation/TestReporter.test.js +5 -5
  258. package/build/__tests__/implementation/TestReporter.test.js.map +1 -1
  259. package/build/__tests__/implementation/TestRunner.test.js +23 -25
  260. package/build/__tests__/implementation/TestRunner.test.js.map +1 -1
  261. package/build/__tests__/implementation/ValueTypeMapping.test.js +4 -4
  262. package/build/__tests__/implementation/ValueTypeMapping.test.js.map +1 -1
  263. package/build/__tests__/implementation/Widgets.test.js +10 -10
  264. package/build/__tests__/implementation/Widgets.test.js.map +1 -1
  265. package/build/__tests__/testDirsAndFiles/abstract_tests/AbstractTest.d.ts +1 -1
  266. package/build/__tests__/testDirsAndFiles/abstract_tests/AbstractTest.ts +1 -1
  267. package/build/__tests__/testDirsAndFiles/abstract_tests/AbstractTest2.d.ts +1 -1
  268. package/build/__tests__/testDirsAndFiles/abstract_tests/AbstractTest2.ts +1 -1
  269. package/build/__tests__/testDirsAndFiles/abstract_tests/deeper/AbstractBananaTest.d.ts +1 -1
  270. package/build/__tests__/testDirsAndFiles/abstract_tests/deeper/AbstractBananaTest.ts +1 -1
  271. package/build/features/onboard/templates/ManagingTodos.test.ts.hbs +1 -1
  272. package/build/features/test/TestLogItemGenerator.js +2 -2
  273. package/build/features/test/TestLogItemGenerator.js.map +1 -1
  274. package/build/interfaces/SpyInterface.js +5 -5
  275. package/build/interfaces/SpyInterface.js.map +1 -1
  276. package/build/tests/AbstractCliTest.d.ts +1 -1
  277. package/build/tests/AbstractCliTest.js +11 -11
  278. package/build/tests/AbstractCliTest.js.map +1 -1
  279. package/build/tests/AbstractSchemaTest.js +4 -4
  280. package/build/tests/AbstractSchemaTest.js.map +1 -1
  281. package/build/tests/utilities/test.utility.js +6 -6
  282. package/build/tests/utilities/test.utility.js.map +1 -1
  283. package/build/tests/utilities/uiAssert.utility.js +6 -6
  284. package/build/tests/utilities/uiAssert.utility.js.map +1 -1
  285. package/package.json +5 -5
  286. package/src/__tests__/behavioral/AddingADependency.test.ts +1 -1
  287. package/src/__tests__/behavioral/BlockingCommands.test.ts +1 -1
  288. package/src/__tests__/behavioral/BootingTheCli.test.ts +1 -1
  289. package/src/__tests__/behavioral/BootingWithBadFiles.test.ts +1 -1
  290. package/src/__tests__/behavioral/CreatingAConversationTopic.test.ts +1 -1
  291. package/src/__tests__/behavioral/CreatingSchemasWithGenerics.test.ts +1 -1
  292. package/src/__tests__/behavioral/DeployingASkill.test.ts +1 -1
  293. package/src/__tests__/behavioral/DeployingToSandbox.test.ts +1 -1
  294. package/src/__tests__/behavioral/EnablingAndDisablingCache.test.ts +1 -1
  295. package/src/__tests__/behavioral/GettingCliVersion.test.ts +1 -1
  296. package/src/__tests__/behavioral/InstallingASkillAtAnOrg.test.ts +1 -1
  297. package/src/__tests__/behavioral/ListeningToCoreEvents.test.ts +1 -1
  298. package/src/__tests__/behavioral/LoggingInAsASkill.test.ts +1 -1
  299. package/src/__tests__/behavioral/ManagingDependencies.test.ts +1 -1
  300. package/src/__tests__/behavioral/OverridingCommandsInPackageJson.test.ts +1 -1
  301. package/src/__tests__/behavioral/RebuildingASkill.test.ts +1 -1
  302. package/src/__tests__/behavioral/RegisteringConversationsOnBoot.test.ts +1 -1
  303. package/src/__tests__/behavioral/RegisteringEventsOnBoot.test.ts +1 -1
  304. package/src/__tests__/behavioral/RegisteringGlobalEvents.test.ts +1 -1
  305. package/src/__tests__/behavioral/RegisteringSkillViewOnBoot.test.ts +1 -1
  306. package/src/__tests__/behavioral/RememberingUpgradeSelections.test.ts +1 -1
  307. package/src/__tests__/behavioral/SettingLogTransportsInASkill.test.ts +1 -1
  308. package/src/__tests__/behavioral/SettingRemote.test.ts +1 -1
  309. package/src/__tests__/behavioral/SettingUpASkillForTesting.test.ts +1 -1
  310. package/src/__tests__/behavioral/SettingUpSchemasForModuleDistribution.test.ts +1 -1
  311. package/src/__tests__/behavioral/SettingUpVscode.test.ts +1 -1
  312. package/src/__tests__/behavioral/SyncingEventsOnlyFromDependencies.test.ts +1 -1
  313. package/src/__tests__/behavioral/TestReporterSettingsRemembered.test.ts +1 -1
  314. package/src/__tests__/behavioral/TestingAConversation.test.ts +1 -1
  315. package/src/__tests__/behavioral/TestingDataStores.test.ts +1 -1
  316. package/src/__tests__/behavioral/WatchingSkillViews.test.ts +1 -1
  317. package/src/__tests__/behavioral/errors/CreatingANewErrorBuilder.test.ts +1 -1
  318. package/src/__tests__/behavioral/errors/KeepingErrorClassInSync.test.ts +1 -1
  319. package/src/__tests__/behavioral/errors/KeepingErrorsInSync.test.ts +1 -1
  320. package/src/__tests__/behavioral/errors/SettingUpErrors.test.ts +1 -1
  321. package/src/__tests__/behavioral/eventContract/PullingMercuryEventContract.test.ts +1 -1
  322. package/src/__tests__/behavioral/events/CreatingAListener.test.ts +1 -1
  323. package/src/__tests__/behavioral/events/CreatingAnEvent.test.ts +1 -1
  324. package/src/__tests__/behavioral/events/KeepingEventsInSync.test.ts +1 -1
  325. package/src/__tests__/behavioral/events/KeepingEventsInSync2.test.ts +1 -1
  326. package/src/__tests__/behavioral/events/KeepingListenersInSync.test.ts +1 -1
  327. package/src/__tests__/behavioral/events/ListeningToAnEventYouCreate.test.ts +1 -1
  328. package/src/__tests__/behavioral/events/SettingUpEvents.test.ts +1 -1
  329. package/src/__tests__/behavioral/events/SkillEmitsBootEvents.test.ts +1 -1
  330. package/src/__tests__/behavioral/node/CreatingANodeModule.test.ts +1 -1
  331. package/src/__tests__/behavioral/onboard/StartingOnboarding.test.ts +1 -1
  332. package/src/__tests__/behavioral/organization/CreatingAnOrg.test.ts +1 -1
  333. package/src/__tests__/behavioral/permissions/CreatingPermissions.test.ts +1 -1
  334. package/src/__tests__/behavioral/person/LoggingInAsPerson.test.ts +1 -1
  335. package/src/__tests__/behavioral/person/SeeWhoIsLoggedIn.test.ts +1 -1
  336. package/src/__tests__/behavioral/polish/SettingUpPolish.test.ts +1 -1
  337. package/src/__tests__/behavioral/schemas/CreatingANewSchemaBuilder.test.ts +1 -1
  338. package/src/__tests__/behavioral/schemas/GeneratingFieldTypesOnly.test.ts +1 -1
  339. package/src/__tests__/behavioral/schemas/GettingSchemasFromHealthCheck.test.ts +1 -1
  340. package/src/__tests__/behavioral/schemas/HandlesRelatedSchemas.test.ts +1 -1
  341. package/src/__tests__/behavioral/schemas/ImportingSchemaImports.test.ts +1 -1
  342. package/src/__tests__/behavioral/schemas/KeepingSchemasInSync.test.ts +1 -1
  343. package/src/__tests__/behavioral/schemas/SettingUpSchemas.test.ts +1 -1
  344. package/src/__tests__/behavioral/schemas/SyncingBadSchemasProvidesHelpfulErrorMessages.test.ts +1 -1
  345. package/src/__tests__/behavioral/schemas/UsingSchemasInCli.test.ts +1 -1
  346. package/src/__tests__/behavioral/skill/BootingASkill.test.ts +1 -1
  347. package/src/__tests__/behavioral/skill/CreatingASkill.test.ts +1 -1
  348. package/src/__tests__/behavioral/skill/RegisteringASkill.test.ts +1 -1
  349. package/src/__tests__/behavioral/skill/SettingUpASkill.test.ts +1 -1
  350. package/src/__tests__/behavioral/stores/CreatingADataStore.test.ts +1 -1
  351. package/src/__tests__/behavioral/stores/KeepingDataStoresInSync.test.ts +1 -1
  352. package/src/__tests__/behavioral/tests/CreatingATest.test.ts +1 -1
  353. package/src/__tests__/behavioral/tests/RunningTests.test.ts +1 -1
  354. package/src/__tests__/behavioral/tests/SelectingAnAbstractTestClass.test.ts +1 -1
  355. package/src/__tests__/behavioral/tests/SettingUpTests.test.ts +1 -1
  356. package/src/__tests__/behavioral/upgrading/UpdatingDependencies.test.ts +1 -1
  357. package/src/__tests__/behavioral/upgrading/UpdatingDependencies2.test.ts +1 -1
  358. package/src/__tests__/behavioral/upgrading/UpgradingANodeModule.test.ts +1 -1
  359. package/src/__tests__/behavioral/upgrading/UpgradingASkill.test.ts +1 -1
  360. package/src/__tests__/behavioral/upgrading/UpgradingASkill2.test.ts +1 -1
  361. package/src/__tests__/behavioral/upgrading/UpgradingASkill3.test.ts +1 -1
  362. package/src/__tests__/behavioral/upgrading/UpgradingASkill4.test.ts +1 -1
  363. package/src/__tests__/behavioral/upgrading/UpgradingASkill5.test.ts +1 -1
  364. package/src/__tests__/behavioral/upgrading/UpgradingWithListeners.test.ts +1 -1
  365. package/src/__tests__/behavioral/upgrading/UpgradingWithSandboxFeatureInstalled.test.ts +1 -1
  366. package/src/__tests__/behavioral/views/CreatingASkillView.test.ts +1 -1
  367. package/src/__tests__/behavioral/views/CreatingATheme.test.ts +1 -1
  368. package/src/__tests__/behavioral/views/KeepingViewsInSync.test.ts +1 -1
  369. package/src/__tests__/behavioral/views/SettingUpViews.test.ts +1 -1
  370. package/src/__tests__/behavioral/views/TestingViewControllers.test.ts +1 -1
  371. package/src/__tests__/behavioral/watchers/WatchingForChanges.test.ts +1 -1
  372. package/src/__tests__/implementation/ActionExecuter.test.ts +1 -1
  373. package/src/__tests__/implementation/ActionExecuter2.test.ts +1 -1
  374. package/src/__tests__/implementation/ActionExecuter3.test.ts +1 -1
  375. package/src/__tests__/implementation/ActionExecuter4.test.ts +1 -1
  376. package/src/__tests__/implementation/ArgParser.test.ts +1 -1
  377. package/src/__tests__/implementation/BuildService.test.ts +1 -1
  378. package/src/__tests__/implementation/BulkImporting.test.ts +1 -1
  379. package/src/__tests__/implementation/CachingImports.test.ts +1 -1
  380. package/src/__tests__/implementation/CommandOptionBuilder.test.ts +1 -1
  381. package/src/__tests__/implementation/CommanderCommandResultMapper.test.ts +1 -1
  382. package/src/__tests__/implementation/DataStoreStore.test.ts +1 -1
  383. package/src/__tests__/implementation/DeletingOrphanedSchemaDefinitions.test.ts +1 -1
  384. package/src/__tests__/implementation/EventContractCleanerUtil.test.ts +1 -1
  385. package/src/__tests__/implementation/EventStore.test.ts +1 -1
  386. package/src/__tests__/implementation/EventTemplateItemBuilder.test.ts +1 -1
  387. package/src/__tests__/implementation/FeatureCommandAttacher.test.ts +1 -1
  388. package/src/__tests__/implementation/FeatureFixture.test.ts +1 -1
  389. package/src/__tests__/implementation/FeatureInstaller.test.ts +1 -1
  390. package/src/__tests__/implementation/FeaturesUtil.test.ts +1 -1
  391. package/src/__tests__/implementation/FieldTemplateItemBuilder.test.ts +1 -1
  392. package/src/__tests__/implementation/GlobalEmitter.ts +1 -1
  393. package/src/__tests__/implementation/Introspection.test.ts +1 -1
  394. package/src/__tests__/implementation/JestJsonParser.test.ts +1 -1
  395. package/src/__tests__/implementation/LintService.test.ts +1 -1
  396. package/src/__tests__/implementation/ListenerStore.test.ts +1 -1
  397. package/src/__tests__/implementation/OnboardingScriptLoader.test.ts +1 -1
  398. package/src/__tests__/implementation/OnboardingScriptPlayer.test.ts +1 -1
  399. package/src/__tests__/implementation/OnboardingStore.test.ts +1 -1
  400. package/src/__tests__/implementation/OrganizationStore.test.ts +1 -1
  401. package/src/__tests__/implementation/ParentTestFinder.test.ts +1 -1
  402. package/src/__tests__/implementation/PkgService.test.ts +1 -1
  403. package/src/__tests__/implementation/SchemaStore.test.ts +1 -1
  404. package/src/__tests__/implementation/SchemaTemplateItemBuilder.test.ts +1 -1
  405. package/src/__tests__/implementation/SchemaValueTypeWriter.test.ts +1 -1
  406. package/src/__tests__/implementation/ServiceFactory.test.ts +1 -1
  407. package/src/__tests__/implementation/SettingUpANodeModule.test.ts +1 -1
  408. package/src/__tests__/implementation/SkillStore.test.ts +1 -1
  409. package/src/__tests__/implementation/StoreFeature.test.ts +1 -1
  410. package/src/__tests__/implementation/TestReporter.test.ts +1 -1
  411. package/src/__tests__/implementation/TestRunner.test.ts +1 -1
  412. package/src/__tests__/implementation/ValueTypeMapping.test.ts +1 -1
  413. package/src/__tests__/implementation/Widgets.test.ts +1 -1
  414. package/src/__tests__/testDirsAndFiles/abstract_tests/AbstractTest.ts +1 -1
  415. package/src/__tests__/testDirsAndFiles/abstract_tests/AbstractTest2.ts +1 -1
  416. package/src/__tests__/testDirsAndFiles/abstract_tests/deeper/AbstractBananaTest.ts +1 -1
  417. package/src/features/onboard/templates/ManagingTodos.test.ts.hbs +1 -1
  418. package/src/features/test/TestLogItemGenerator.ts +1 -1
  419. package/src/interfaces/SpyInterface.ts +1 -1
  420. package/src/tests/AbstractCliTest.ts +1 -1
  421. package/src/tests/AbstractSchemaTest.ts +1 -1
  422. package/src/tests/utilities/test.utility.ts +1 -1
  423. package/src/tests/utilities/uiAssert.utility.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"JestJsonParser.test.js","names":["JestJsonParserTest","test","parser","JestJsonParser","assert","isTruthy","write","startRun","generateTestResults","testResults","getResults","isEqualDeep","totalTestFiles","data","testFiles","isLength","path","status","jestStatus","testFile","START_DIVIDER","END_DIVIDER","JSON","stringify","onTestFileResult","Error","substr","isFalsy","firstPart","secondPart","firstSelfContained","splitIdx","length","completed","tests","name","errorMessages","duration","errorMessage","find","file","totalTestFilesComplete","totalFailed","totalPassed","totalTests","totalSkipped","totalTodo","AbstractSpruceTest"],"sources":["../../../src/__tests__/implementation/JestJsonParser.test.ts"],"sourcesContent":["import { START_DIVIDER, END_DIVIDER } from '@sprucelabs/jest-json-reporter'\nimport AbstractSpruceTest, { test, assert } from '@sprucelabs/test'\nimport JestJsonParser, { JsonResultKeys } from '../../tests/JestJsonParser'\nimport onTestFileResult from '../support/onTestFileResult'\nexport default class JestJsonParserTest extends AbstractSpruceTest {\n\tprivate static parser: JestJsonParser\n\n\tprotected static async beforeEach() {\n\t\tawait super.beforeEach()\n\t\tthis.parser = new JestJsonParser()\n\t}\n\n\t@test()\n\tprotected static canCreateJjp() {\n\t\tassert.isTruthy(this.parser.write)\n\t}\n\n\t@test()\n\tprotected static generatesEmptyResults() {\n\t\tconst startRun = this.generateTestResults('onRunStart')\n\n\t\tthis.parser.write(startRun)\n\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isEqualDeep(testResults, {\n\t\t\ttotalTestFiles: 43,\n\t\t})\n\t}\n\n\t@test()\n\tprotected static canHandleSelfContainedWrite() {\n\t\tconst data = this.generateTestResults(\n\t\t\t'onTestFileStart',\n\t\t\t'behavioral/errors/CreatingANewErrorBuilder.test.js'\n\t\t)\n\n\t\tthis.parser.write(this.generateTestResults('onRunStart'))\n\t\tthis.parser.write(data)\n\n\t\tconst testResults = this.parser.getResults()\n\t\tassert.isTruthy(testResults.testFiles)\n\n\t\tassert.isLength(testResults.testFiles, 1)\n\t\tassert.isEqualDeep(testResults.testFiles[0], {\n\t\t\tpath: `behavioral/errors/CreatingANewErrorBuilder.test.ts`,\n\t\t\tstatus: 'running',\n\t\t})\n\t}\n\n\tprivate static generateTestResults(\n\t\tjestStatus: JsonResultKeys,\n\t\ttestFile?: string\n\t): string {\n\t\tswitch (jestStatus) {\n\t\t\tcase 'onRunStart':\n\t\t\t\treturn `${START_DIVIDER}{\"status\":\"onRunStart\",\"results\":{\"numFailedTestSuites\":0,\"numFailedTests\":0,\"numPassedTestSuites\":0,\"numPassedTests\":0,\"numPendingTestSuites\":0,\"numPendingTests\":0,\"numRuntimeErrorTestSuites\":0,\"numTodoTests\":0,\"numTotalTestSuites\":43,\"numTotalTests\":0,\"openHandles\":[],\"snapshot\":{\"added\":0,\"didUpdate\":false,\"failure\":false,\"filesAdded\":0,\"filesRemoved\":0,\"filesRemovedList\":[],\"filesUnmatched\":0,\"filesUpdated\":0,\"matched\":0,\"total\":0,\"unchecked\":0,\"uncheckedKeysByFile\":[],\"unmatched\":0,\"updated\":0},\"startTime\":1603459399575,\"success\":false,\"testResults\":[],\"wasInterrupted\":false}}${END_DIVIDER}`\n\t\t\tcase 'onTestFileStart':\n\t\t\t\treturn `${START_DIVIDER}{\"status\":\"onTestFileStart\",\"test\":{\"context\":{\"config\":{\"automock\":false,\"cache\":true,\"cacheDirectory\":\"/private/var/folders/qw/v2bfr0c94bn37vclwvcltsj40000gn/T/jest_dx\",\"clearMocks\":false,\"coveragePathIgnorePatterns\":[\"/node_modules/\"],\"cwd\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"detectLeaks\":false,\"detectOpenHandles\":false,\"errorOnDeprecated\":false,\"extraGlobals\":[],\"forceCoverageMatch\":[],\"globals\":{},\"haste\":{\"computeSha1\":false,\"throwOnModuleCollision\":false},\"injectGlobals\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleFileExtensions\":[\"js\",\"json\",\"jsx\",\"ts\",\"tsx\",\"node\"],\"moduleNameMapper\":[[\"^#spruce/schemas/fields/(.*)\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\"],[\"^#spruce/(.*)$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\"]],\"modulePathIgnorePatterns\":[],\"name\":\"44406c6bd09f4805a9dd2ad1a17b150c\",\"prettierPath\":\"prettier\",\"resetMocks\":false,\"resetModules\":false,\"restoreMocks\":false,\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"roots\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"],\"runner\":\"jest-runner\",\"setupFiles\":[],\"setupFilesAfterEnv\":[],\"skipFilter\":false,\"slowTestThreshold\":5,\"snapshotSerializers\":[],\"testEnvironment\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-environment-node/build/index.js\",\"testEnvironmentOptions\":{},\"testLocationInResults\":false,\"testMatch\":[\"**/__tests__/**/*.test.js?(x)\"],\"testPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/tmp/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/testDirsAndFiles/\"],\"testRegex\":[],\"testRunner\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-jasmine2/build/index.js\",\"testURL\":\"http://localhost\",\"timers\":\"real\",\"transform\":[[\".[jt]sx?$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/babel-jest/build/index.js\",{}]],\"transformIgnorePatterns\":[\"/node_modules/\",\".pnp.[^/]+$\"],\"watchPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\"]},\"hasteFS\":{\"_rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"_files\":{}},\"moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"resolver\":{\"_options\":{\"extensions\":[\".js\",\".json\",\".jsx\",\".ts\",\".tsx\",\".node\"],\"hasCoreModules\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleNameMapper\":[{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\",\"regex\":{}},{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\",\"regex\":{}}],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleIDCache\":{},\"_moduleNameCache\":{},\"_modulePathCache\":{},\"_supportsNativePlatform\":false}},\"duration\":40472,\"path\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/${testFile}\"}}${END_DIVIDER}`\n\t\t\tcase 'onTestFileResult':\n\t\t\t\treturn `${START_DIVIDER}${JSON.stringify(\n\t\t\t\t\tonTestFileResult(testFile ?? 'missing')\n\t\t\t\t)}${END_DIVIDER}`\n\t\t\tdefault:\n\t\t\t\tthrow new Error('Status not implemented')\n\t\t}\n\t}\n\n\t@test()\n\tprotected static canHandleSelfContainedWriteWithTwoTests() {\n\t\tconst data =\n\t\t\tthis.generateTestResults(\n\t\t\t\t'onTestFileStart',\n\t\t\t\t'behavioral/errors/CreatingANewErrorBuilder.test.js'\n\t\t\t) +\n\t\t\tthis.generateTestResults(\n\t\t\t\t'onTestFileStart',\n\t\t\t\t'behavioral/tests/RunningTests.test.js'\n\t\t\t)\n\t\tthis.parser.write(data)\n\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isTruthy(testResults.testFiles)\n\t\tassert.isLength(testResults.testFiles, 2)\n\t\tassert.isEqualDeep(testResults.testFiles, [\n\t\t\t{\n\t\t\t\tpath: `behavioral/errors/CreatingANewErrorBuilder.test.ts`,\n\t\t\t\tstatus: 'running',\n\t\t\t},\n\t\t\t{\n\t\t\t\tpath: `behavioral/tests/RunningTests.test.ts`,\n\t\t\t\tstatus: 'running',\n\t\t\t},\n\t\t])\n\t}\n\n\t@test()\n\tprotected static multipleSelfContainedWritesWorks() {\n\t\tthis.parser.write(\n\t\t\tthis.generateTestResults(\n\t\t\t\t'onTestFileStart',\n\t\t\t\t`behavioral/errors/CreatingANewErrorBuilder.test.js`\n\t\t\t)\n\t\t)\n\n\t\tthis.parser.write(\n\t\t\tthis.generateTestResults(\n\t\t\t\t'onTestFileStart',\n\t\t\t\t`behavioral/tests/RunningTests.test.js`\n\t\t\t)\n\t\t)\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isTruthy(testResults.testFiles)\n\t\tassert.isLength(testResults.testFiles, 2)\n\t\tassert.isEqualDeep(testResults.testFiles, [\n\t\t\t{\n\t\t\t\tpath: `behavioral/errors/CreatingANewErrorBuilder.test.ts`,\n\t\t\t\tstatus: 'running',\n\t\t\t},\n\t\t\t{\n\t\t\t\tpath: `behavioral/tests/RunningTests.test.ts`,\n\t\t\t\tstatus: 'running',\n\t\t\t},\n\t\t])\n\t}\n\n\t@test()\n\tprotected static partialWriteReturnsNothing() {\n\t\tconst data = this.generateTestResults(\n\t\t\t'onTestFileStart',\n\t\t\t'behavioral/errors/KeepingErrorsInSync.test.js'\n\t\t).substr(0, 100)\n\n\t\tthis.parser.write(data)\n\n\t\tconst testResults = this.parser.getResults()\n\t\tassert.isFalsy(testResults.testFiles)\n\t}\n\n\t@test()\n\tprotected static canPartialWriteAcrossTwoWrites() {\n\t\tconst data = this.generateTestResults(\n\t\t\t'onTestFileStart',\n\t\t\t'behavioral/errors/KeepingErrorsInSync.test.js'\n\t\t)\n\n\t\tconst firstPart = data.substr(0, 100)\n\t\tconst secondPart = data.substr(100)\n\n\t\tthis.parser.write(firstPart)\n\t\tthis.parser.write(secondPart)\n\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isTruthy(testResults.testFiles)\n\t\tassert.isLength(testResults.testFiles, 1)\n\n\t\tassert.isEqualDeep(testResults.testFiles[0], {\n\t\t\tpath: `behavioral/errors/KeepingErrorsInSync.test.ts`,\n\t\t\tstatus: 'running',\n\t\t})\n\t}\n\n\t@test()\n\tprotected static canPartialWriteAndSelfContainedAcrossThreeWrites() {\n\t\tconst data = this.generateTestResults(\n\t\t\t'onTestFileStart',\n\t\t\t'behavioral/errors/KeepingErrorsInSync.test.js'\n\t\t)\n\n\t\tconst firstPart = data.substr(0, 100)\n\t\tconst secondPart = data.substr(100)\n\n\t\tthis.parser.write(this.generateTestResults('onRunStart'))\n\t\tthis.parser.write(firstPart)\n\t\tthis.parser.write(secondPart)\n\t\tthis.parser.write(\n\t\t\tthis.generateTestResults(\n\t\t\t\t'onTestFileStart',\n\t\t\t\t'behavioral/tests/CreatingANewErrorBuilder.test.js'\n\t\t\t)\n\t\t)\n\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isEqualDeep(testResults, {\n\t\t\ttotalTestFiles: 43,\n\t\t\ttestFiles: [\n\t\t\t\t{\n\t\t\t\t\tpath: 'behavioral/errors/KeepingErrorsInSync.test.ts',\n\t\t\t\t\tstatus: 'running',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'behavioral/tests/CreatingANewErrorBuilder.test.ts',\n\t\t\t\t\tstatus: 'running',\n\t\t\t\t},\n\t\t\t],\n\t\t})\n\t}\n\n\t@test()\n\tprotected static canSelfContainedPlusPartial() {\n\t\tconst firstSelfContained = this.generateTestResults(\n\t\t\t'onTestFileStart',\n\t\t\t`behavioral/errors/KeepingErrorsInSync.test.js`\n\t\t)\n\t\tconst data =\n\t\t\tfirstSelfContained +\n\t\t\tthis.generateTestResults(\n\t\t\t\t'onTestFileStart',\n\t\t\t\t'behavioral/tests/CreatingANewErrorBuilder.test.js'\n\t\t\t)\n\n\t\tconst splitIdx = firstSelfContained.length + 500\n\t\tconst firstPart = data.substr(0, splitIdx)\n\t\tconst secondPart = data.substr(splitIdx)\n\n\t\tthis.parser.write(firstPart)\n\t\tthis.parser.write(secondPart)\n\n\t\tconst testResults = this.parser.getResults()\n\t\tassert.isTruthy(testResults.testFiles)\n\t\tassert.isLength(testResults.testFiles, 2)\n\n\t\tassert.isEqualDeep(testResults.testFiles[0], {\n\t\t\tpath: `behavioral/errors/KeepingErrorsInSync.test.ts`,\n\t\t\tstatus: 'running',\n\t\t})\n\n\t\tassert.isEqualDeep(testResults.testFiles[1], {\n\t\t\tpath: 'behavioral/tests/CreatingANewErrorBuilder.test.ts',\n\t\t\tstatus: 'running',\n\t\t})\n\t}\n\n\t@test()\n\tprotected static canHandleGarbageAtFrontOfData() {\n\t\tconst data =\n\t\t\t'yarn test run\\nother garbage' +\n\t\t\tthis.generateTestResults(\n\t\t\t\t'onTestFileStart',\n\t\t\t\t'behavioral/errors/CreatingANewErrorBuilder.test.js'\n\t\t\t)\n\t\tthis.parser.write(data)\n\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isTruthy(testResults.testFiles)\n\t\tassert.isLength(testResults.testFiles, 1)\n\t\tassert.isEqualDeep(testResults.testFiles[0], {\n\t\t\tpath: `behavioral/errors/CreatingANewErrorBuilder.test.ts`,\n\t\t\tstatus: 'running',\n\t\t})\n\t}\n\n\t@test()\n\tprotected static canHandlesSplitTestRestsWithGarbageInFrontAndDanglingEnd() {\n\t\tthis.parser.write(\n\t\t\t'yarn run go team ***************************START_JSON_DIVIDER***************************'\n\t\t)\n\t\tthis.parser.write(\n\t\t\t'{\"status\":\"onTestFileStart\",\"test\":{\"context\":{\"config\":{\"automock\":false,\"cache\":true,\"cacheDirectory\":\"/private/tmp/jest_dx\",\"clearMocks\":false,\"coveragePathIgnorePatterns\":[\"/node_modules/\"],\"cwd\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"detectLeaks\":false,\"detectOpenHandles\":false,\"errorOnDeprecated\":false,\"extraGlobals\":[],\"forceCoverageMatch\":[],\"globals\":{},\"haste\":{\"computeSha1\":false,\"throwOnModuleCollision\":false},\"injectGlobals\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleFileExtensions\":[\"js\",\"json\",\"jsx\",\"ts\",\"tsx\",\"node\"],\"moduleNameMapper\":[[\"^#spruce/schemas/fields/(.*)\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\"],[\"^#spruce/(.*)$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\"]],\"modulePathIgnorePatterns\":[],\"name\":\"44406c6bd09f4805a9dd2ad1a17b150c\",\"prettierPath\":\"prettier\",\"resetMocks\":false,\"resetModules\":false,\"restoreMocks\":false,\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"roots\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"],\"runner\":\"jest-runner\",\"setupFiles\":[],\"setupFilesAfterEnv\":[],\"skipFilter\":false,\"slowTestThreshold\":5,\"snapshotSerializers\":[],\"testEnvironment\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-environment-node/build/index.js\",\"testEnvironmentOptions\":{},\"testLocationInResults\":false,\"testMatch\":[\"**/__tests__/**/*.test.js?(x)\"],\"testPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/tmp/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/testDirsAndFiles/\"],\"testRegex\":[],\"testRunner\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-jasmine2/build/index.js\",\"testURL\":\"http://localhost\",\"timers\":\"real\",\"transform\":[[\".[jt]sx?$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/babel-jest/build/index.js\",{}]],\"transformIgnorePatterns\":[\"/node_modules/\",\".pnp.[^/]+$\"],\"watchPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\"]},\"hasteFS\":{\"_rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"_files\":{}},\"moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"resolver\":{\"_options\":{\"extensions\":[\".js\",\".json\",\".jsx\",\".ts\",\".tsx\",\".node\"],\"hasCoreModules\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleNameMapper\":[{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\",\"regex\":{}},{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\",\"regex\":{}}],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleIDCache\":{},\"_moduleNameCache\":{},\"_modulePathCache\":{},\"_supportsNativePlatform\":false}},\"duration\":50540,\"path\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/behavioral/tests/RunningTests.test.js\"}}'\n\t\t)\n\t\t/* eslint-disable no-useless-escape */\n\t\tthis.parser\n\t\t\t.write(`***************************END_JSON_DIVIDER***************************\n\t\t\t***************************START_JSON_DIVIDER***************************\n\t\t\t{\"status\":\"onTestFileStart\",\"test\":{\"context\":{\"config\":{\"automock\":false,\"cache\":true,\"cacheDirectory\":\"/private/tmp/jest_dx\",\"clearMocks\":false,\"coveragePathIgnorePatterns\":[\"/node_modules/\"],\"cwd\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"detectLeaks\":false,\"detectOpenHandles\":false,\"errorOnDeprecated\":false,\"extraGlobals\":[],\"forceCoverageMatch\":[],\"globals\":{},\"haste\":{\"computeSha1\":false,\"throwOnModuleCollision\":false},\"injectGlobals\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleFileExtensions\":[\"js\",\"json\",\"jsx\",\"ts\",\"tsx\",\"node\"],\"moduleNameMapper\":[[\"^#spruce/schemas/fields/(.*)\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\"],[\"^#spruce/(.*)$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\"]],\"modulePathIgnorePatterns\":[],\"name\":\"44406c6bd09f4805a9dd2ad1a17b150c\",\"prettierPath\":\"prettier\",\"resetMocks\":false,\"resetModules\":false,\"restoreMocks\":false,\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"roots\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"],\"runner\":\"jest-runner\",\"setupFiles\":[],\"setupFilesAfterEnv\":[],\"skipFilter\":false,\"slowTestThreshold\":5,\"snapshotSerializers\":[],\"testEnvironment\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-environment-node/build/index.js\",\"testEnvironmentOptions\":{},\"testLocationInResults\":false,\"testMatch\":[\"**/__tests__/**/*.test.js?(x)\"],\"testPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/tmp/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/testDirsAndFiles/\"],\"testRegex\":[],\"testRunner\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-jasmine2/build/index.js\",\"testURL\":\"http://localhost\",\"timers\":\"real\",\"transform\":[[\"\\.[jt]sx?$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/babel-jest/build/index.js\",{}]],\"transformIgnorePatterns\":[\"/node_modules/\",\"\\.pnp\\.[^\\/]+$\"],\"watchPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\"]},\"hasteFS\":{\"_rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"_files\":{}},\"moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"resolver\":{\"_options\":{\"extensions\":[\".js\",\".json\",\".jsx\",\".ts\",\".tsx\",\".node\"],\"hasCoreModules\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleNameMapper\":[{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\",\"regex\":{}},{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\",\"regex\":{}}],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleIDCache\":{},\"_moduleNameCache\":{},\"_modulePathCache\":{},\"_supportsNativePlatform\":false}},\"duration\":48733,\"path\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/behavioral/errors/CreatingANewErrorBuilder.test.js\"}}\n\t\t\t***************************END_JSON_DIVIDER***************************\n\t\t\t***************************START_JSON_DIVIDER***************************\n\t\t\t{\"status\":\"onTestFileStart\",\"test\":{\"context\":{\"config\":{\"automock\":false,\"cache\":true,\"cacheDirectory\":\"/private/tmp/jest_dx\",\"clearMocks\":false,\"coveragePathIgnorePatterns\":[\"/node_modules/\"],\"cwd\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"detectLeaks\":false,\"detectOpenHandles\":false,\"errorOnDeprecated\":false,\"extraGlobals\":[],\"forceCoverageMatch\":[],\"globals\":{},\"haste\":{\"computeSha1\":false,\"throwOnModuleCollision\":false},\"injectGlobals\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleFileExtensions\":[\"js\",\"json\",\"jsx\",\"ts\",\"tsx\",\"node\"],\"moduleNameMapper\":[[\"^#spruce/schemas/fields/(.*)\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\"],[\"^#spruce/(.*)$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\"]],\"modulePathIgnorePatterns\":[],\"name\":\"44406c6bd09f4805a9dd2ad1a17b150c\",\"prettierPath\":\"prettier\",\"resetMocks\":false,\"resetModules\":false,\"restoreMocks\":false,\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"roots\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"],\"runner\":\"jest-runner\",\"setupFiles\":[],\"setupFilesAfterEnv\":[],\"skipFilter\":false,\"slowTestThreshold\":5,\"snapshotSerializers\":[],\"testEnvironment\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-environment-node/build/index.js\",\"testEnvironmentOptions\":{},\"testLocationInResults\":false,\"testMatch\":[\"**/__tests__/**/*.test.js?(x)\"],\"testPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/tmp/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/testDirsAndFiles/\"],\"testRegex\":[],\"testRunner\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-jasmine2/build/index.js\",\"testURL\":\"http://localhost\",\"timers\":\"real\",\"transform\":[[\"\\.[jt]sx?$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/babel-jest/build/index.js\",{}]],\"transformIgnorePatterns\":[\"/node_modules/\",\"\\.pnp\\.[^\\/]+$\"],\"watchPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\"]},\"hasteFS\":{\"_rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"_files\":{}},\"moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"resolver\":{\"_options\":{\"extensions\":[\".js\",\".json\",\".jsx\",\".ts\",\".tsx\",\".node\"],\"hasCoreModules\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleNameMapper\":[{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\",\"regex\":{}},{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\",\"regex\":{}}],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleIDCache\":{},\"_moduleNameCache\":{},\"_modulePathCache\":{},\"_supportsNativePlatform\":false}},\"duration\":17443,\"path\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/behavioral/watchers/WatchingForChanges.test.js\"}}`)\n\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isTruthy(testResults.testFiles)\n\t\tassert.isLength(testResults.testFiles, 2)\n\t}\n\n\t@test()\n\tprotected static canUpdateAsTestsCompletes() {\n\t\tconst data = this.generateTestResults(\n\t\t\t'onTestFileStart',\n\t\t\t'behavioral/errors/CreatingANewErrorBuilder.test.js'\n\t\t)\n\n\t\tthis.parser.write(data)\n\n\t\tconst completed = this.generateTestResults(\n\t\t\t'onTestFileResult',\n\t\t\t'behavioral/errors/CreatingANewErrorBuilder.test.js'\n\t\t)\n\n\t\tthis.parser.write(completed)\n\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isTruthy(testResults.testFiles)\n\t\tassert.isLength(testResults.testFiles, 11)\n\n\t\tassert.isEqualDeep(testResults, {\n\t\t\ttotalTestFiles: 39,\n\t\t\ttestFiles: [\n\t\t\t\t{\n\t\t\t\t\tpath: 'behavioral/errors/CreatingANewErrorBuilder.test.ts',\n\t\t\t\t\tstatus: 'running',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/CasualNameUtility.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'No name returns friend',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 2,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'Just last name to just last name',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 0,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'First name only to first name only',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'last and first name to First Last initial',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 0,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/PhoneUtility.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canMatchDummyNumber',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/TokenUtility.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'exists',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 0,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canGenerateTokenForPerson',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 10,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'generatesValidToken',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'decodesAndVerifiesValidToken',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'decodesValidToken',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'verifyFailsOnBadSecret',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 17,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/RoleStore.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canCreateOrgStore',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 4,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canGenerateBaseRoles',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 80,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/PersonRoleStore.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'personRole',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 6,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canGivePersonGlobalRole',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 88,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canGiveRoleAndThenTakeItAway',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 25,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canAssignOrgRole',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 30,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'removeRoleFromOrgDoesNotRemoveGlobal',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 28,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'cantAssignSameRoleTwice',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 14,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canAddRemoveThenReAddRole',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 18,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'removesTheCorrectRole',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 19,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/ContractValidator.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canRegisterContract',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 2,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'cannotMixinContractWithDuplicateEvents',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 0,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canClearEventsFromContract',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'clearingUnknownEventThrowsError',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/MercuryServer.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canCreateServer',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 28,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'throwsWhenEmittingBadEvent',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 21,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'behavioral/UpdatingARole.test.ts',\n\t\t\t\t\tstatus: 'failed',\n\t\t\t\t\terrorMessage: testResults.testFiles.find(\n\t\t\t\t\t\t(file) => file.path === 'behavioral/UpdatingARole.test.ts'\n\t\t\t\t\t)?.errorMessage,\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'hasUpdateRoleEvent',\n\t\t\t\t\t\t\tstatus: 'failed',\n\t\t\t\t\t\t\terrorMessages: testResults.testFiles.find(\n\t\t\t\t\t\t\t\t(file) => file.path === 'behavioral/UpdatingARole.test.ts'\n\t\t\t\t\t\t\t)?.tests?.[0]?.errorMessages,\n\t\t\t\t\t\t\tduration: 24,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/SkillGenerator.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canInstantiate',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'generatesNewSkillValuesByName',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/Database.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'throws error when updating record not found (neDb)',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 3,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'can delete record (mongo)',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 47,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'can upsert (neDb)',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 5,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'can create a compound field unique index (mongo)',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 82,\n\t\t\t\t\t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AAa,EAAE,EAHhB;YAICC,QAAQ,EAAE;UAJX,CAnBM;QAHR,CApPU,CAFoB;QAqR/BI,sBAAsB,EAAE,EArRO;QAsR/BC,WAAW,EAAE,CAtRkB;QAuR/BC,WAAW,EAAE,GAvRkB;QAwR/BC,UAAU,EAAE,GAxRmB;QAyR/BC,YAAY,EAAE,CAzRiB;QA0R/BC,SAAS,EAAE;MA1RoB,CAAhC;IA4RA;;;EArkB8CC,gB"}
1
+ {"version":3,"file":"JestJsonParser.test.js","names":["JestJsonParserTest","test","parser","JestJsonParser","assert","isTruthy","write","startRun","generateTestResults","testResults","getResults","isEqualDeep","totalTestFiles","data","testFiles","isLength","path","status","jestStatus","testFile","START_DIVIDER","END_DIVIDER","JSON","stringify","onTestFileResult","Error","substr","isFalsy","firstPart","secondPart","firstSelfContained","splitIdx","length","completed","tests","name","errorMessages","duration","errorMessage","find","file","totalTestFilesComplete","totalFailed","totalPassed","totalTests","totalSkipped","totalTodo","AbstractSpruceTest"],"sources":["../../../src/__tests__/implementation/JestJsonParser.test.ts"],"sourcesContent":["import { START_DIVIDER, END_DIVIDER } from '@sprucelabs/jest-json-reporter'\nimport AbstractSpruceTest, { test, assert } from '@sprucelabs/test-utils'\nimport JestJsonParser, { JsonResultKeys } from '../../tests/JestJsonParser'\nimport onTestFileResult from '../support/onTestFileResult'\nexport default class JestJsonParserTest extends AbstractSpruceTest {\n\tprivate static parser: JestJsonParser\n\n\tprotected static async beforeEach() {\n\t\tawait super.beforeEach()\n\t\tthis.parser = new JestJsonParser()\n\t}\n\n\t@test()\n\tprotected static canCreateJjp() {\n\t\tassert.isTruthy(this.parser.write)\n\t}\n\n\t@test()\n\tprotected static generatesEmptyResults() {\n\t\tconst startRun = this.generateTestResults('onRunStart')\n\n\t\tthis.parser.write(startRun)\n\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isEqualDeep(testResults, {\n\t\t\ttotalTestFiles: 43,\n\t\t})\n\t}\n\n\t@test()\n\tprotected static canHandleSelfContainedWrite() {\n\t\tconst data = this.generateTestResults(\n\t\t\t'onTestFileStart',\n\t\t\t'behavioral/errors/CreatingANewErrorBuilder.test.js'\n\t\t)\n\n\t\tthis.parser.write(this.generateTestResults('onRunStart'))\n\t\tthis.parser.write(data)\n\n\t\tconst testResults = this.parser.getResults()\n\t\tassert.isTruthy(testResults.testFiles)\n\n\t\tassert.isLength(testResults.testFiles, 1)\n\t\tassert.isEqualDeep(testResults.testFiles[0], {\n\t\t\tpath: `behavioral/errors/CreatingANewErrorBuilder.test.ts`,\n\t\t\tstatus: 'running',\n\t\t})\n\t}\n\n\tprivate static generateTestResults(\n\t\tjestStatus: JsonResultKeys,\n\t\ttestFile?: string\n\t): string {\n\t\tswitch (jestStatus) {\n\t\t\tcase 'onRunStart':\n\t\t\t\treturn `${START_DIVIDER}{\"status\":\"onRunStart\",\"results\":{\"numFailedTestSuites\":0,\"numFailedTests\":0,\"numPassedTestSuites\":0,\"numPassedTests\":0,\"numPendingTestSuites\":0,\"numPendingTests\":0,\"numRuntimeErrorTestSuites\":0,\"numTodoTests\":0,\"numTotalTestSuites\":43,\"numTotalTests\":0,\"openHandles\":[],\"snapshot\":{\"added\":0,\"didUpdate\":false,\"failure\":false,\"filesAdded\":0,\"filesRemoved\":0,\"filesRemovedList\":[],\"filesUnmatched\":0,\"filesUpdated\":0,\"matched\":0,\"total\":0,\"unchecked\":0,\"uncheckedKeysByFile\":[],\"unmatched\":0,\"updated\":0},\"startTime\":1603459399575,\"success\":false,\"testResults\":[],\"wasInterrupted\":false}}${END_DIVIDER}`\n\t\t\tcase 'onTestFileStart':\n\t\t\t\treturn `${START_DIVIDER}{\"status\":\"onTestFileStart\",\"test\":{\"context\":{\"config\":{\"automock\":false,\"cache\":true,\"cacheDirectory\":\"/private/var/folders/qw/v2bfr0c94bn37vclwvcltsj40000gn/T/jest_dx\",\"clearMocks\":false,\"coveragePathIgnorePatterns\":[\"/node_modules/\"],\"cwd\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"detectLeaks\":false,\"detectOpenHandles\":false,\"errorOnDeprecated\":false,\"extraGlobals\":[],\"forceCoverageMatch\":[],\"globals\":{},\"haste\":{\"computeSha1\":false,\"throwOnModuleCollision\":false},\"injectGlobals\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleFileExtensions\":[\"js\",\"json\",\"jsx\",\"ts\",\"tsx\",\"node\"],\"moduleNameMapper\":[[\"^#spruce/schemas/fields/(.*)\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\"],[\"^#spruce/(.*)$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\"]],\"modulePathIgnorePatterns\":[],\"name\":\"44406c6bd09f4805a9dd2ad1a17b150c\",\"prettierPath\":\"prettier\",\"resetMocks\":false,\"resetModules\":false,\"restoreMocks\":false,\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"roots\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"],\"runner\":\"jest-runner\",\"setupFiles\":[],\"setupFilesAfterEnv\":[],\"skipFilter\":false,\"slowTestThreshold\":5,\"snapshotSerializers\":[],\"testEnvironment\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-environment-node/build/index.js\",\"testEnvironmentOptions\":{},\"testLocationInResults\":false,\"testMatch\":[\"**/__tests__/**/*.test.js?(x)\"],\"testPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/tmp/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/testDirsAndFiles/\"],\"testRegex\":[],\"testRunner\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-jasmine2/build/index.js\",\"testURL\":\"http://localhost\",\"timers\":\"real\",\"transform\":[[\".[jt]sx?$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/babel-jest/build/index.js\",{}]],\"transformIgnorePatterns\":[\"/node_modules/\",\".pnp.[^/]+$\"],\"watchPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\"]},\"hasteFS\":{\"_rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"_files\":{}},\"moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"resolver\":{\"_options\":{\"extensions\":[\".js\",\".json\",\".jsx\",\".ts\",\".tsx\",\".node\"],\"hasCoreModules\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleNameMapper\":[{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\",\"regex\":{}},{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\",\"regex\":{}}],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleIDCache\":{},\"_moduleNameCache\":{},\"_modulePathCache\":{},\"_supportsNativePlatform\":false}},\"duration\":40472,\"path\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/${testFile}\"}}${END_DIVIDER}`\n\t\t\tcase 'onTestFileResult':\n\t\t\t\treturn `${START_DIVIDER}${JSON.stringify(\n\t\t\t\t\tonTestFileResult(testFile ?? 'missing')\n\t\t\t\t)}${END_DIVIDER}`\n\t\t\tdefault:\n\t\t\t\tthrow new Error('Status not implemented')\n\t\t}\n\t}\n\n\t@test()\n\tprotected static canHandleSelfContainedWriteWithTwoTests() {\n\t\tconst data =\n\t\t\tthis.generateTestResults(\n\t\t\t\t'onTestFileStart',\n\t\t\t\t'behavioral/errors/CreatingANewErrorBuilder.test.js'\n\t\t\t) +\n\t\t\tthis.generateTestResults(\n\t\t\t\t'onTestFileStart',\n\t\t\t\t'behavioral/tests/RunningTests.test.js'\n\t\t\t)\n\t\tthis.parser.write(data)\n\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isTruthy(testResults.testFiles)\n\t\tassert.isLength(testResults.testFiles, 2)\n\t\tassert.isEqualDeep(testResults.testFiles, [\n\t\t\t{\n\t\t\t\tpath: `behavioral/errors/CreatingANewErrorBuilder.test.ts`,\n\t\t\t\tstatus: 'running',\n\t\t\t},\n\t\t\t{\n\t\t\t\tpath: `behavioral/tests/RunningTests.test.ts`,\n\t\t\t\tstatus: 'running',\n\t\t\t},\n\t\t])\n\t}\n\n\t@test()\n\tprotected static multipleSelfContainedWritesWorks() {\n\t\tthis.parser.write(\n\t\t\tthis.generateTestResults(\n\t\t\t\t'onTestFileStart',\n\t\t\t\t`behavioral/errors/CreatingANewErrorBuilder.test.js`\n\t\t\t)\n\t\t)\n\n\t\tthis.parser.write(\n\t\t\tthis.generateTestResults(\n\t\t\t\t'onTestFileStart',\n\t\t\t\t`behavioral/tests/RunningTests.test.js`\n\t\t\t)\n\t\t)\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isTruthy(testResults.testFiles)\n\t\tassert.isLength(testResults.testFiles, 2)\n\t\tassert.isEqualDeep(testResults.testFiles, [\n\t\t\t{\n\t\t\t\tpath: `behavioral/errors/CreatingANewErrorBuilder.test.ts`,\n\t\t\t\tstatus: 'running',\n\t\t\t},\n\t\t\t{\n\t\t\t\tpath: `behavioral/tests/RunningTests.test.ts`,\n\t\t\t\tstatus: 'running',\n\t\t\t},\n\t\t])\n\t}\n\n\t@test()\n\tprotected static partialWriteReturnsNothing() {\n\t\tconst data = this.generateTestResults(\n\t\t\t'onTestFileStart',\n\t\t\t'behavioral/errors/KeepingErrorsInSync.test.js'\n\t\t).substr(0, 100)\n\n\t\tthis.parser.write(data)\n\n\t\tconst testResults = this.parser.getResults()\n\t\tassert.isFalsy(testResults.testFiles)\n\t}\n\n\t@test()\n\tprotected static canPartialWriteAcrossTwoWrites() {\n\t\tconst data = this.generateTestResults(\n\t\t\t'onTestFileStart',\n\t\t\t'behavioral/errors/KeepingErrorsInSync.test.js'\n\t\t)\n\n\t\tconst firstPart = data.substr(0, 100)\n\t\tconst secondPart = data.substr(100)\n\n\t\tthis.parser.write(firstPart)\n\t\tthis.parser.write(secondPart)\n\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isTruthy(testResults.testFiles)\n\t\tassert.isLength(testResults.testFiles, 1)\n\n\t\tassert.isEqualDeep(testResults.testFiles[0], {\n\t\t\tpath: `behavioral/errors/KeepingErrorsInSync.test.ts`,\n\t\t\tstatus: 'running',\n\t\t})\n\t}\n\n\t@test()\n\tprotected static canPartialWriteAndSelfContainedAcrossThreeWrites() {\n\t\tconst data = this.generateTestResults(\n\t\t\t'onTestFileStart',\n\t\t\t'behavioral/errors/KeepingErrorsInSync.test.js'\n\t\t)\n\n\t\tconst firstPart = data.substr(0, 100)\n\t\tconst secondPart = data.substr(100)\n\n\t\tthis.parser.write(this.generateTestResults('onRunStart'))\n\t\tthis.parser.write(firstPart)\n\t\tthis.parser.write(secondPart)\n\t\tthis.parser.write(\n\t\t\tthis.generateTestResults(\n\t\t\t\t'onTestFileStart',\n\t\t\t\t'behavioral/tests/CreatingANewErrorBuilder.test.js'\n\t\t\t)\n\t\t)\n\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isEqualDeep(testResults, {\n\t\t\ttotalTestFiles: 43,\n\t\t\ttestFiles: [\n\t\t\t\t{\n\t\t\t\t\tpath: 'behavioral/errors/KeepingErrorsInSync.test.ts',\n\t\t\t\t\tstatus: 'running',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'behavioral/tests/CreatingANewErrorBuilder.test.ts',\n\t\t\t\t\tstatus: 'running',\n\t\t\t\t},\n\t\t\t],\n\t\t})\n\t}\n\n\t@test()\n\tprotected static canSelfContainedPlusPartial() {\n\t\tconst firstSelfContained = this.generateTestResults(\n\t\t\t'onTestFileStart',\n\t\t\t`behavioral/errors/KeepingErrorsInSync.test.js`\n\t\t)\n\t\tconst data =\n\t\t\tfirstSelfContained +\n\t\t\tthis.generateTestResults(\n\t\t\t\t'onTestFileStart',\n\t\t\t\t'behavioral/tests/CreatingANewErrorBuilder.test.js'\n\t\t\t)\n\n\t\tconst splitIdx = firstSelfContained.length + 500\n\t\tconst firstPart = data.substr(0, splitIdx)\n\t\tconst secondPart = data.substr(splitIdx)\n\n\t\tthis.parser.write(firstPart)\n\t\tthis.parser.write(secondPart)\n\n\t\tconst testResults = this.parser.getResults()\n\t\tassert.isTruthy(testResults.testFiles)\n\t\tassert.isLength(testResults.testFiles, 2)\n\n\t\tassert.isEqualDeep(testResults.testFiles[0], {\n\t\t\tpath: `behavioral/errors/KeepingErrorsInSync.test.ts`,\n\t\t\tstatus: 'running',\n\t\t})\n\n\t\tassert.isEqualDeep(testResults.testFiles[1], {\n\t\t\tpath: 'behavioral/tests/CreatingANewErrorBuilder.test.ts',\n\t\t\tstatus: 'running',\n\t\t})\n\t}\n\n\t@test()\n\tprotected static canHandleGarbageAtFrontOfData() {\n\t\tconst data =\n\t\t\t'yarn test run\\nother garbage' +\n\t\t\tthis.generateTestResults(\n\t\t\t\t'onTestFileStart',\n\t\t\t\t'behavioral/errors/CreatingANewErrorBuilder.test.js'\n\t\t\t)\n\t\tthis.parser.write(data)\n\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isTruthy(testResults.testFiles)\n\t\tassert.isLength(testResults.testFiles, 1)\n\t\tassert.isEqualDeep(testResults.testFiles[0], {\n\t\t\tpath: `behavioral/errors/CreatingANewErrorBuilder.test.ts`,\n\t\t\tstatus: 'running',\n\t\t})\n\t}\n\n\t@test()\n\tprotected static canHandlesSplitTestRestsWithGarbageInFrontAndDanglingEnd() {\n\t\tthis.parser.write(\n\t\t\t'yarn run go team ***************************START_JSON_DIVIDER***************************'\n\t\t)\n\t\tthis.parser.write(\n\t\t\t'{\"status\":\"onTestFileStart\",\"test\":{\"context\":{\"config\":{\"automock\":false,\"cache\":true,\"cacheDirectory\":\"/private/tmp/jest_dx\",\"clearMocks\":false,\"coveragePathIgnorePatterns\":[\"/node_modules/\"],\"cwd\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"detectLeaks\":false,\"detectOpenHandles\":false,\"errorOnDeprecated\":false,\"extraGlobals\":[],\"forceCoverageMatch\":[],\"globals\":{},\"haste\":{\"computeSha1\":false,\"throwOnModuleCollision\":false},\"injectGlobals\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleFileExtensions\":[\"js\",\"json\",\"jsx\",\"ts\",\"tsx\",\"node\"],\"moduleNameMapper\":[[\"^#spruce/schemas/fields/(.*)\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\"],[\"^#spruce/(.*)$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\"]],\"modulePathIgnorePatterns\":[],\"name\":\"44406c6bd09f4805a9dd2ad1a17b150c\",\"prettierPath\":\"prettier\",\"resetMocks\":false,\"resetModules\":false,\"restoreMocks\":false,\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"roots\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"],\"runner\":\"jest-runner\",\"setupFiles\":[],\"setupFilesAfterEnv\":[],\"skipFilter\":false,\"slowTestThreshold\":5,\"snapshotSerializers\":[],\"testEnvironment\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-environment-node/build/index.js\",\"testEnvironmentOptions\":{},\"testLocationInResults\":false,\"testMatch\":[\"**/__tests__/**/*.test.js?(x)\"],\"testPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/tmp/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/testDirsAndFiles/\"],\"testRegex\":[],\"testRunner\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-jasmine2/build/index.js\",\"testURL\":\"http://localhost\",\"timers\":\"real\",\"transform\":[[\".[jt]sx?$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/babel-jest/build/index.js\",{}]],\"transformIgnorePatterns\":[\"/node_modules/\",\".pnp.[^/]+$\"],\"watchPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\"]},\"hasteFS\":{\"_rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"_files\":{}},\"moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"resolver\":{\"_options\":{\"extensions\":[\".js\",\".json\",\".jsx\",\".ts\",\".tsx\",\".node\"],\"hasCoreModules\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleNameMapper\":[{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\",\"regex\":{}},{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\",\"regex\":{}}],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleIDCache\":{},\"_moduleNameCache\":{},\"_modulePathCache\":{},\"_supportsNativePlatform\":false}},\"duration\":50540,\"path\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/behavioral/tests/RunningTests.test.js\"}}'\n\t\t)\n\t\t/* eslint-disable no-useless-escape */\n\t\tthis.parser\n\t\t\t.write(`***************************END_JSON_DIVIDER***************************\n\t\t\t***************************START_JSON_DIVIDER***************************\n\t\t\t{\"status\":\"onTestFileStart\",\"test\":{\"context\":{\"config\":{\"automock\":false,\"cache\":true,\"cacheDirectory\":\"/private/tmp/jest_dx\",\"clearMocks\":false,\"coveragePathIgnorePatterns\":[\"/node_modules/\"],\"cwd\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"detectLeaks\":false,\"detectOpenHandles\":false,\"errorOnDeprecated\":false,\"extraGlobals\":[],\"forceCoverageMatch\":[],\"globals\":{},\"haste\":{\"computeSha1\":false,\"throwOnModuleCollision\":false},\"injectGlobals\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleFileExtensions\":[\"js\",\"json\",\"jsx\",\"ts\",\"tsx\",\"node\"],\"moduleNameMapper\":[[\"^#spruce/schemas/fields/(.*)\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\"],[\"^#spruce/(.*)$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\"]],\"modulePathIgnorePatterns\":[],\"name\":\"44406c6bd09f4805a9dd2ad1a17b150c\",\"prettierPath\":\"prettier\",\"resetMocks\":false,\"resetModules\":false,\"restoreMocks\":false,\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"roots\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"],\"runner\":\"jest-runner\",\"setupFiles\":[],\"setupFilesAfterEnv\":[],\"skipFilter\":false,\"slowTestThreshold\":5,\"snapshotSerializers\":[],\"testEnvironment\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-environment-node/build/index.js\",\"testEnvironmentOptions\":{},\"testLocationInResults\":false,\"testMatch\":[\"**/__tests__/**/*.test.js?(x)\"],\"testPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/tmp/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/testDirsAndFiles/\"],\"testRegex\":[],\"testRunner\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-jasmine2/build/index.js\",\"testURL\":\"http://localhost\",\"timers\":\"real\",\"transform\":[[\"\\.[jt]sx?$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/babel-jest/build/index.js\",{}]],\"transformIgnorePatterns\":[\"/node_modules/\",\"\\.pnp\\.[^\\/]+$\"],\"watchPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\"]},\"hasteFS\":{\"_rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"_files\":{}},\"moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"resolver\":{\"_options\":{\"extensions\":[\".js\",\".json\",\".jsx\",\".ts\",\".tsx\",\".node\"],\"hasCoreModules\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleNameMapper\":[{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\",\"regex\":{}},{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\",\"regex\":{}}],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleIDCache\":{},\"_moduleNameCache\":{},\"_modulePathCache\":{},\"_supportsNativePlatform\":false}},\"duration\":48733,\"path\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/behavioral/errors/CreatingANewErrorBuilder.test.js\"}}\n\t\t\t***************************END_JSON_DIVIDER***************************\n\t\t\t***************************START_JSON_DIVIDER***************************\n\t\t\t{\"status\":\"onTestFileStart\",\"test\":{\"context\":{\"config\":{\"automock\":false,\"cache\":true,\"cacheDirectory\":\"/private/tmp/jest_dx\",\"clearMocks\":false,\"coveragePathIgnorePatterns\":[\"/node_modules/\"],\"cwd\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"detectLeaks\":false,\"detectOpenHandles\":false,\"errorOnDeprecated\":false,\"extraGlobals\":[],\"forceCoverageMatch\":[],\"globals\":{},\"haste\":{\"computeSha1\":false,\"throwOnModuleCollision\":false},\"injectGlobals\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleFileExtensions\":[\"js\",\"json\",\"jsx\",\"ts\",\"tsx\",\"node\"],\"moduleNameMapper\":[[\"^#spruce/schemas/fields/(.*)\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\"],[\"^#spruce/(.*)$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\"]],\"modulePathIgnorePatterns\":[],\"name\":\"44406c6bd09f4805a9dd2ad1a17b150c\",\"prettierPath\":\"prettier\",\"resetMocks\":false,\"resetModules\":false,\"restoreMocks\":false,\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"roots\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"],\"runner\":\"jest-runner\",\"setupFiles\":[],\"setupFilesAfterEnv\":[],\"skipFilter\":false,\"slowTestThreshold\":5,\"snapshotSerializers\":[],\"testEnvironment\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-environment-node/build/index.js\",\"testEnvironmentOptions\":{},\"testLocationInResults\":false,\"testMatch\":[\"**/__tests__/**/*.test.js?(x)\"],\"testPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/tmp/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/testDirsAndFiles/\"],\"testRegex\":[],\"testRunner\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/jest-jasmine2/build/index.js\",\"testURL\":\"http://localhost\",\"timers\":\"real\",\"transform\":[[\"\\.[jt]sx?$\",\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/node_modules/babel-jest/build/index.js\",{}]],\"transformIgnorePatterns\":[\"/node_modules/\",\"\\.pnp\\.[^\\/]+$\"],\"watchPathIgnorePatterns\":[\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/src/\"]},\"hasteFS\":{\"_rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\",\"_files\":{}},\"moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"resolver\":{\"_options\":{\"extensions\":[\".js\",\".json\",\".jsx\",\".ts\",\".tsx\",\".node\"],\"hasCoreModules\":true,\"moduleDirectories\":[\"node_modules\"],\"moduleNameMapper\":[{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/node_modules/@sprucelabs/schema/build/.spruce/schemas/fields/$1\",\"regex\":{}},{\"moduleName\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/.spruce/$1\",\"regex\":{}}],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleMap\":{\"duplicates\":[],\"map\":[[\"@sprucelabs/spruce-cli\",{\"g\":[\"package.json\",1]}]],\"mocks\":[],\"rootDir\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli\"},\"_moduleIDCache\":{},\"_moduleNameCache\":{},\"_modulePathCache\":{},\"_supportsNativePlatform\":false}},\"duration\":17443,\"path\":\"/Users/taylorromero/Development/SpruceLabs/spruce-cli-workspace/packages/spruce-cli/build/__tests__/behavioral/watchers/WatchingForChanges.test.js\"}}`)\n\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isTruthy(testResults.testFiles)\n\t\tassert.isLength(testResults.testFiles, 2)\n\t}\n\n\t@test()\n\tprotected static canUpdateAsTestsCompletes() {\n\t\tconst data = this.generateTestResults(\n\t\t\t'onTestFileStart',\n\t\t\t'behavioral/errors/CreatingANewErrorBuilder.test.js'\n\t\t)\n\n\t\tthis.parser.write(data)\n\n\t\tconst completed = this.generateTestResults(\n\t\t\t'onTestFileResult',\n\t\t\t'behavioral/errors/CreatingANewErrorBuilder.test.js'\n\t\t)\n\n\t\tthis.parser.write(completed)\n\n\t\tconst testResults = this.parser.getResults()\n\n\t\tassert.isTruthy(testResults.testFiles)\n\t\tassert.isLength(testResults.testFiles, 11)\n\n\t\tassert.isEqualDeep(testResults, {\n\t\t\ttotalTestFiles: 39,\n\t\t\ttestFiles: [\n\t\t\t\t{\n\t\t\t\t\tpath: 'behavioral/errors/CreatingANewErrorBuilder.test.ts',\n\t\t\t\t\tstatus: 'running',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/CasualNameUtility.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'No name returns friend',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 2,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'Just last name to just last name',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 0,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'First name only to first name only',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'last and first name to First Last initial',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 0,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/PhoneUtility.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canMatchDummyNumber',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/TokenUtility.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'exists',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 0,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canGenerateTokenForPerson',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 10,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'generatesValidToken',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'decodesAndVerifiesValidToken',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'decodesValidToken',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'verifyFailsOnBadSecret',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 17,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/RoleStore.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canCreateOrgStore',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 4,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canGenerateBaseRoles',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 80,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/PersonRoleStore.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'personRole',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 6,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canGivePersonGlobalRole',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 88,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canGiveRoleAndThenTakeItAway',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 25,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canAssignOrgRole',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 30,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'removeRoleFromOrgDoesNotRemoveGlobal',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 28,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'cantAssignSameRoleTwice',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 14,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canAddRemoveThenReAddRole',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 18,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'removesTheCorrectRole',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 19,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/ContractValidator.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canRegisterContract',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 2,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'cannotMixinContractWithDuplicateEvents',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 0,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canClearEventsFromContract',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'clearingUnknownEventThrowsError',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/MercuryServer.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canCreateServer',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 28,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'throwsWhenEmittingBadEvent',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 21,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'behavioral/UpdatingARole.test.ts',\n\t\t\t\t\tstatus: 'failed',\n\t\t\t\t\terrorMessage: testResults.testFiles.find(\n\t\t\t\t\t\t(file) => file.path === 'behavioral/UpdatingARole.test.ts'\n\t\t\t\t\t)?.errorMessage,\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'hasUpdateRoleEvent',\n\t\t\t\t\t\t\tstatus: 'failed',\n\t\t\t\t\t\t\terrorMessages: testResults.testFiles.find(\n\t\t\t\t\t\t\t\t(file) => file.path === 'behavioral/UpdatingARole.test.ts'\n\t\t\t\t\t\t\t)?.tests?.[0]?.errorMessages,\n\t\t\t\t\t\t\tduration: 24,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/SkillGenerator.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'canInstantiate',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'generatesNewSkillValuesByName',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 1,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tpath: 'implementation/Database.test.ts',\n\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\ttests: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'throws error when updating record not found (neDb)',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 3,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'can delete record (mongo)',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 47,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'can upsert (neDb)',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 5,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'can create a compound field unique index (mongo)',\n\t\t\t\t\t\t\tstatus: 'passed',\n\t\t\t\t\t\t\terrorMessages: [],\n\t\t\t\t\t\t\tduration: 82,\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t],\n\t\t\ttotalTestFilesComplete: 20,\n\t\t\ttotalFailed: 1,\n\t\t\ttotalPassed: 181,\n\t\t\ttotalTests: 183,\n\t\t\ttotalSkipped: 1,\n\t\t\ttotalTodo: 0,\n\t\t})\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;;;;;;;IACqBA,kB,WAQnB,IAAAC,eAAA,G,UAKA,IAAAA,eAAA,G,UAaA,IAAAA,eAAA,G,UAsCA,IAAAA,eAAA,G,UA6BA,IAAAA,eAAA,G,UA+BA,IAAAA,eAAA,G,UAaA,IAAAA,eAAA,G,UAwBA,IAAAA,eAAA,G,UAqCA,IAAAA,eAAA,G,WAmCA,IAAAA,eAAA,G,WAoBA,IAAAA,eAAA,G,WAuBA,IAAAA,eAAA,G;;;;;;;;;;;;;sGAjRD;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA;;cAAA;gBAEC,KAAKC,MAAL,GAAc,IAAIC,0BAAJ,EAAd;;cAFD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;WAKA,wBACgC;MAC/BC,iBAAA,CAAOC,QAAP,CAAgB,KAAKH,MAAL,CAAYI,KAA5B;IACA;;;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AAM,EAAE,QAFT;UAGCiB,KAAK,EAAE,CACN;YACCC,IAAI,EAAE,oDADP;YAEClB,MAAM,EAAE,QAFT;YAGCmB,aAAa,EAAE,EAHhB;YAICC,QAAQ,EAAE;UAJX,CADM,EAON;YACCF,IAAI,EAAE,2BADP;YAEClB,MAAM,EAAE,QAFT;YAGCmB,aAAa,EAAE,EAHhB;YAICC,QAAQ,EAAE;UAJX,CAPM,EAaN;YACCF,IAAI,EAAE,mBADP;YAEClB,MAAM,EAAE,QAFT;YAGCmB,aAAa,EAAE,EAHhB;YAICC,QAAQ,EAAE;UAJX,CAbM,EAmBN;YACCF,IAAI,EAAE,kDADP;YAEClB,MAAM,EAAE,QAFT;YAGCmB,aAAa,EAAE,EAHhB;YAICC,QAAQ,EAAE;UAJX,CAnBM;QAHR,CApPU,CAFoB;QAqR/BI,sBAAsB,EAAE,EArRO;QAsR/BC,WAAW,EAAE,CAtRkB;QAuR/BC,WAAW,EAAE,GAvRkB;QAwR/BC,UAAU,EAAE,GAxRmB;QAyR/BC,YAAY,EAAE,CAzRiB;QA0R/BC,SAAS,EAAE;MA1RoB,CAAhC;IA4RA;;;EArkB8CC,qB"}
@@ -23,7 +23,7 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
23
23
 
24
24
  var _applyDecoratedDescriptor2 = _interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));
25
25
 
26
- var _test = require("@sprucelabs/test");
26
+ var _testUtils = require("@sprucelabs/test-utils");
27
27
 
28
28
  var _CommandService = _interopRequireDefault(require("../../services/CommandService"));
29
29
 
@@ -37,7 +37,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
37
37
 
38
38
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
39
39
 
40
- var LintServiceTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.test)(), (_class = /*#__PURE__*/function (_AbstractCliTest) {
40
+ var LintServiceTest = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testUtils.test)(), (_class = /*#__PURE__*/function (_AbstractCliTest) {
41
41
  (0, _inherits2["default"])(LintServiceTest, _AbstractCliTest);
42
42
 
43
43
  var _super = _createSuper(LintServiceTest);
@@ -69,7 +69,7 @@ var LintServiceTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.test)(), (_cl
69
69
  });
70
70
 
71
71
  _context.next = 6;
72
- return _test.assert.doesThrowAsync(function () {
72
+ return _testUtils.assert.doesThrowAsync(function () {
73
73
  return _this.Service('lint').fix('./go');
74
74
  });
75
75
 
@@ -1 +1 @@
1
- {"version":3,"file":"LintService.test.js","names":["LintServiceTest","test","LintService","enableLinting","FeatureFixture","installCachedFeatures","CommandService","fakeCommand","code","stdout","assert","doesThrowAsync","Service","fix","AbstractCliTest"],"sources":["../../../src/__tests__/implementation/LintService.test.ts"],"sourcesContent":["import { test, assert } from '@sprucelabs/test'\nimport CommandService from '../../services/CommandService'\nimport LintService from '../../services/LintService'\nimport AbstractCliTest from '../../tests/AbstractCliTest'\n\nexport default class LintServiceTest extends AbstractCliTest {\n\t@test()\n\tprotected static async throwsWhenLintReturnsMessage() {\n\t\tLintService.enableLinting()\n\n\t\tawait this.FeatureFixture().installCachedFeatures('skills')\n\n\t\tCommandService.fakeCommand(/node/, {\n\t\t\tcode: 0,\n\t\t\tstdout: `[{\"filePath\":\"/Users/taylorromero/Development/SpruceLabs/spruce-appointments-skill/src/.spruce/stores/stores.types.ts\",\"messages\":[{\"fatal\":false,\"severity\":1,\"message\":\"File ignored by default. Use a negated ignore pattern (like \\\\\"--ignore-pattern '!<relative/path/to/filename>'\\\\\") to override.\"}],\"errorCount\":1,\"warningCount\":0,\"fixableErrorCount\":0,\"fixableWarningCount\":0,\"usedDeprecatedRules\":[]}]\\n`,\n\t\t})\n\n\t\tawait assert.doesThrowAsync(() => this.Service('lint').fix('./go'))\n\t}\n\n\t@test()\n\tprotected static async worksWhenNoMessagesReturned() {\n\t\tLintService.enableLinting()\n\n\t\tawait this.FeatureFixture().installCachedFeatures('skills')\n\n\t\tCommandService.fakeCommand(/node/, {\n\t\t\tcode: 0,\n\t\t\tstdout: `[{\"filePath\":\"/Users/taylorromero/Development/SpruceLabs/spruce-appointments-skill/src/.spruce/stores/stores.types.ts\",\"messages\":[{\"fatal\":false,\"severity\":1,\"message\":\"File ignored by default. Use a negated ignore pattern (like \\\\\"--ignore-pattern '!<relative/path/to/filename>'\\\\\") to override.\"}],\"errorCount\":0,\"warningCount\":1,\"fixableErrorCount\":0,\"fixableWarningCount\":0,\"usedDeprecatedRules\":[]}]\\n`,\n\t\t})\n\n\t\tawait this.Service('lint').fix('./go')\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;;;IAEqBA,e,WACnB,IAAAC,UAAA,G,UAcA,IAAAA,UAAA,G;;;;;;;;;;;;;wHAdD;QAAA;;QAAA;UAAA;YAAA;cAAA;gBAECC,uBAAA,CAAYC,aAAZ;;gBAFD;gBAAA,OAIO,KAAKC,cAAL,GAAsBC,qBAAtB,CAA4C,QAA5C,CAJP;;cAAA;gBAMCC,0BAAA,CAAeC,WAAf,CAA2B,MAA3B,EAAmC;kBAClCC,IAAI,EAAE,CAD4B;kBAElCC,MAAM;gBAF4B,CAAnC;;gBAND;gBAAA,OAWOC,YAAA,CAAOC,cAAP,CAAsB;kBAAA,OAAM,KAAI,CAACC,OAAL,CAAa,MAAb,EAAqBC,GAArB,CAAyB,MAAzB,CAAN;gBAAA,CAAtB,CAXP;;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;uHAcA;QAAA;UAAA;YAAA;cAAA;gBAECX,uBAAA,CAAYC,aAAZ;;gBAFD;gBAAA,OAIO,KAAKC,cAAL,GAAsBC,qBAAtB,CAA4C,QAA5C,CAJP;;cAAA;gBAMCC,0BAAA,CAAeC,WAAf,CAA2B,MAA3B,EAAmC;kBAClCC,IAAI,EAAE,CAD4B;kBAElCC,MAAM;gBAF4B,CAAnC;;gBAND;gBAAA,OAWO,KAAKG,OAAL,CAAa,MAAb,EAAqBC,GAArB,CAAyB,MAAzB,CAXP;;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EAf4CC,4B"}
1
+ {"version":3,"file":"LintService.test.js","names":["LintServiceTest","test","LintService","enableLinting","FeatureFixture","installCachedFeatures","CommandService","fakeCommand","code","stdout","assert","doesThrowAsync","Service","fix","AbstractCliTest"],"sources":["../../../src/__tests__/implementation/LintService.test.ts"],"sourcesContent":["import { test, assert } from '@sprucelabs/test-utils'\nimport CommandService from '../../services/CommandService'\nimport LintService from '../../services/LintService'\nimport AbstractCliTest from '../../tests/AbstractCliTest'\n\nexport default class LintServiceTest extends AbstractCliTest {\n\t@test()\n\tprotected static async throwsWhenLintReturnsMessage() {\n\t\tLintService.enableLinting()\n\n\t\tawait this.FeatureFixture().installCachedFeatures('skills')\n\n\t\tCommandService.fakeCommand(/node/, {\n\t\t\tcode: 0,\n\t\t\tstdout: `[{\"filePath\":\"/Users/taylorromero/Development/SpruceLabs/spruce-appointments-skill/src/.spruce/stores/stores.types.ts\",\"messages\":[{\"fatal\":false,\"severity\":1,\"message\":\"File ignored by default. Use a negated ignore pattern (like \\\\\"--ignore-pattern '!<relative/path/to/filename>'\\\\\") to override.\"}],\"errorCount\":1,\"warningCount\":0,\"fixableErrorCount\":0,\"fixableWarningCount\":0,\"usedDeprecatedRules\":[]}]\\n`,\n\t\t})\n\n\t\tawait assert.doesThrowAsync(() => this.Service('lint').fix('./go'))\n\t}\n\n\t@test()\n\tprotected static async worksWhenNoMessagesReturned() {\n\t\tLintService.enableLinting()\n\n\t\tawait this.FeatureFixture().installCachedFeatures('skills')\n\n\t\tCommandService.fakeCommand(/node/, {\n\t\t\tcode: 0,\n\t\t\tstdout: `[{\"filePath\":\"/Users/taylorromero/Development/SpruceLabs/spruce-appointments-skill/src/.spruce/stores/stores.types.ts\",\"messages\":[{\"fatal\":false,\"severity\":1,\"message\":\"File ignored by default. Use a negated ignore pattern (like \\\\\"--ignore-pattern '!<relative/path/to/filename>'\\\\\") to override.\"}],\"errorCount\":0,\"warningCount\":1,\"fixableErrorCount\":0,\"fixableWarningCount\":0,\"usedDeprecatedRules\":[]}]\\n`,\n\t\t})\n\n\t\tawait this.Service('lint').fix('./go')\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;;;IAEqBA,e,WACnB,IAAAC,eAAA,G,UAcA,IAAAA,eAAA,G;;;;;;;;;;;;;wHAdD;QAAA;;QAAA;UAAA;YAAA;cAAA;gBAECC,uBAAA,CAAYC,aAAZ;;gBAFD;gBAAA,OAIO,KAAKC,cAAL,GAAsBC,qBAAtB,CAA4C,QAA5C,CAJP;;cAAA;gBAMCC,0BAAA,CAAeC,WAAf,CAA2B,MAA3B,EAAmC;kBAClCC,IAAI,EAAE,CAD4B;kBAElCC,MAAM;gBAF4B,CAAnC;;gBAND;gBAAA,OAWOC,iBAAA,CAAOC,cAAP,CAAsB;kBAAA,OAAM,KAAI,CAACC,OAAL,CAAa,MAAb,EAAqBC,GAArB,CAAyB,MAAzB,CAAN;gBAAA,CAAtB,CAXP;;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;uHAcA;QAAA;UAAA;YAAA;cAAA;gBAECX,uBAAA,CAAYC,aAAZ;;gBAFD;gBAAA,OAIO,KAAKC,cAAL,GAAsBC,qBAAtB,CAA4C,QAA5C,CAJP;;cAAA;gBAMCC,0BAAA,CAAeC,WAAf,CAA2B,MAA3B,EAAmC;kBAClCC,IAAI,EAAE,CAD4B;kBAElCC,MAAM;gBAF4B,CAAnC;;gBAND;gBAAA,OAWO,KAAKG,OAAL,CAAa,MAAb,EAAqBC,GAArB,CAAyB,MAAzB,CAXP;;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EAf4CC,4B"}
@@ -21,7 +21,7 @@ var _applyDecoratedDescriptor2 = _interopRequireDefault(require("@babel/runtime/
21
21
 
22
22
  var _spruceTestFixtures = require("@sprucelabs/spruce-test-fixtures");
23
23
 
24
- var _test = require("@sprucelabs/test");
24
+ var _testUtils = require("@sprucelabs/test-utils");
25
25
 
26
26
  var _AbstractCliTest2 = _interopRequireDefault(require("../../tests/AbstractCliTest"));
27
27
 
@@ -31,7 +31,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
31
31
 
32
32
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
33
33
 
34
- var ListenerStoreTest = (_dec = _spruceTestFixtures.fake.login(), _dec2 = (0, _test.test)(), _dec(_class = (_class2 = /*#__PURE__*/function (_AbstractCliTest) {
34
+ var ListenerStoreTest = (_dec = _spruceTestFixtures.fake.login(), _dec2 = (0, _testUtils.test)(), _dec(_class = (_class2 = /*#__PURE__*/function (_AbstractCliTest) {
35
35
  (0, _inherits2["default"])(ListenerStoreTest, _AbstractCliTest);
36
36
 
37
37
  var _super = _createSuper(ListenerStoreTest);
@@ -47,7 +47,7 @@ var ListenerStoreTest = (_dec = _spruceTestFixtures.fake.login(), _dec2 = (0, _t
47
47
  var listenerStore = this.Store('listener');
48
48
  var expected = this.resolvePath('src', '**/*.listener.ts'); //@ts-ignore
49
49
 
50
- _test.assert.isEqual(expected, listenerStore.generateGlobbyPattern());
50
+ _testUtils.assert.isEqual(expected, listenerStore.generateGlobbyPattern());
51
51
  }
52
52
  }]);
53
53
  return ListenerStoreTest;
@@ -1 +1 @@
1
- {"version":3,"file":"ListenerStore.test.js","names":["ListenerStoreTest","fake","login","test","listenerStore","Store","expected","resolvePath","assert","isEqual","generateGlobbyPattern","AbstractCliTest"],"sources":["../../../src/__tests__/implementation/ListenerStore.test.ts"],"sourcesContent":["import { fake } from '@sprucelabs/spruce-test-fixtures'\nimport { test, assert } from '@sprucelabs/test'\nimport AbstractCliTest from '../../tests/AbstractCliTest'\n\n@fake.login()\nexport default class ListenerStoreTest extends AbstractCliTest {\n\t@test()\n\tprotected static canCreateListenerStore() {\n\t\tconst listenerStore = this.Store('listener')\n\t\tconst expected = this.resolvePath('src', '**/*.listener.ts')\n\t\t//@ts-ignore\n\t\tassert.isEqual(expected, listenerStore.generateGlobbyPattern())\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;;;;;;;IAGqBA,iB,WADpBC,wBAAA,CAAKC,KAAL,E,UAEC,IAAAC,UAAA,G;;;;;;;;;;;;WAAD,kCAC0C;MACzC,IAAMC,aAAa,GAAG,KAAKC,KAAL,CAAW,UAAX,CAAtB;MACA,IAAMC,QAAQ,GAAG,KAAKC,WAAL,CAAiB,KAAjB,EAAwB,kBAAxB,CAAjB,CAFyC,CAGzC;;MACAC,YAAA,CAAOC,OAAP,CAAeH,QAAf,EAAyBF,aAAa,CAACM,qBAAd,EAAzB;IACA;;;EAP6CC,4B"}
1
+ {"version":3,"file":"ListenerStore.test.js","names":["ListenerStoreTest","fake","login","test","listenerStore","Store","expected","resolvePath","assert","isEqual","generateGlobbyPattern","AbstractCliTest"],"sources":["../../../src/__tests__/implementation/ListenerStore.test.ts"],"sourcesContent":["import { fake } from '@sprucelabs/spruce-test-fixtures'\nimport { test, assert } from '@sprucelabs/test-utils'\nimport AbstractCliTest from '../../tests/AbstractCliTest'\n\n@fake.login()\nexport default class ListenerStoreTest extends AbstractCliTest {\n\t@test()\n\tprotected static canCreateListenerStore() {\n\t\tconst listenerStore = this.Store('listener')\n\t\tconst expected = this.resolvePath('src', '**/*.listener.ts')\n\t\t//@ts-ignore\n\t\tassert.isEqual(expected, listenerStore.generateGlobbyPattern())\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;;;;;;;IAGqBA,iB,WADpBC,wBAAA,CAAKC,KAAL,E,UAEC,IAAAC,eAAA,G;;;;;;;;;;;;WAAD,kCAC0C;MACzC,IAAMC,aAAa,GAAG,KAAKC,KAAL,CAAW,UAAX,CAAtB;MACA,IAAMC,QAAQ,GAAG,KAAKC,WAAL,CAAiB,KAAjB,EAAwB,kBAAxB,CAAjB,CAFyC,CAGzC;;MACAC,iBAAA,CAAOC,OAAP,CAAeH,QAAf,EAAyBF,aAAa,CAACM,qBAAd,EAAzB;IACA;;;EAP6CC,4B"}
@@ -25,7 +25,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
25
25
 
26
26
  var _applyDecoratedDescriptor2 = _interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));
27
27
 
28
- var _test = require("@sprucelabs/test");
28
+ var _testUtils = require("@sprucelabs/test-utils");
29
29
 
30
30
  var _ScriptLoader = _interopRequireDefault(require("../../features/onboard/ScriptLoader"));
31
31
 
@@ -39,7 +39,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
39
39
 
40
40
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
41
41
 
42
- var OnboardingScriptLoaderTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.test)(), _dec3 = (0, _test.test)(), (_class = (_class2 = /*#__PURE__*/function (_AbstractCliTest) {
42
+ var OnboardingScriptLoaderTest = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testUtils.test)(), _dec3 = (0, _testUtils.test)(), (_class = (_class2 = /*#__PURE__*/function (_AbstractCliTest) {
43
43
  (0, _inherits2["default"])(OnboardingScriptLoaderTest, _AbstractCliTest);
44
44
 
45
45
  var _super = _createSuper(OnboardingScriptLoaderTest);
@@ -52,7 +52,7 @@ var OnboardingScriptLoaderTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.te
52
52
  (0, _createClass2["default"])(OnboardingScriptLoaderTest, null, [{
53
53
  key: "scripLoaderLoadScriptsFunction",
54
54
  value: function scripLoaderLoadScriptsFunction() {
55
- _test.assert.isFunction(_ScriptLoader["default"].LoadScripts);
55
+ _testUtils.assert.isFunction(_ScriptLoader["default"].LoadScripts);
56
56
  }
57
57
  }, {
58
58
  key: "loadingScriptsReturnsPlayer",
@@ -69,7 +69,7 @@ var OnboardingScriptLoaderTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.te
69
69
  case 2:
70
70
  player = _context.sent;
71
71
 
72
- _test.assert.isTrue(player instanceof _ScriptPlayer["default"]);
72
+ _testUtils.assert.isTrue(player instanceof _ScriptPlayer["default"]);
73
73
 
74
74
  case 4:
75
75
  case "end":
@@ -159,30 +159,30 @@ var OnboardingScriptLoaderTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.te
159
159
  return player.playScriptWithKey('first');
160
160
 
161
161
  case 5:
162
- _test.assert.doesInclude(this.ui.invocations, {
162
+ _testUtils.assert.doesInclude(this.ui.invocations, {
163
163
  command: 'renderLine',
164
164
  options: {
165
165
  message: 'hello world'
166
166
  }
167
167
  });
168
168
 
169
- _test.assert.doesInclude(this.ui.invocations, {
169
+ _testUtils.assert.doesInclude(this.ui.invocations, {
170
170
  command: 'renderLine',
171
171
  options: {
172
172
  message: 'second script'
173
173
  }
174
174
  });
175
175
 
176
- _test.assert.doesInclude(this.ui.invocations, {
176
+ _testUtils.assert.doesInclude(this.ui.invocations, {
177
177
  command: 'renderLine',
178
178
  options: {
179
179
  message: 'the last script'
180
180
  }
181
181
  });
182
182
 
183
- _test.assert.isLength(this.commandExecuterCommands, 1);
183
+ _testUtils.assert.isLength(this.commandExecuterCommands, 1);
184
184
 
185
- _test.assert.isEqual(this.commandExecuterCommands[0], 'first script command executed');
185
+ _testUtils.assert.isEqual(this.commandExecuterCommands[0], 'first script command executed');
186
186
 
187
187
  case 10:
188
188
  case "end":
@@ -1 +1 @@
1
- {"version":3,"file":"OnboardingScriptLoader.test.js","names":["OnboardingScriptLoaderTest","test","assert","isFunction","ScriptLoader","LoadScripts","Player","player","isTrue","ScriptPlayer","ui","dir","resolveTestPath","onboardingStore","Store","commandExecuter","command","commandExecuterCommands","push","playScriptWithKey","doesInclude","invocations","options","message","isLength","isEqual","AbstractCliTest"],"sources":["../../../src/__tests__/implementation/OnboardingScriptLoader.test.ts"],"sourcesContent":["import { test, assert } from '@sprucelabs/test'\nimport ScriptLoader from '../../features/onboard/ScriptLoader'\nimport ScriptPlayer from '../../features/onboard/ScriptPlayer'\nimport AbstractCliTest from '../../tests/AbstractCliTest'\n\nexport default class OnboardingScriptLoaderTest extends AbstractCliTest {\n\tprivate static commandExecuterCommands: string[] = []\n\n\t@test()\n\tprotected static scripLoaderLoadScriptsFunction() {\n\t\tassert.isFunction(ScriptLoader.LoadScripts)\n\t}\n\n\t@test()\n\tprotected static async loadingScriptsReturnsPlayer() {\n\t\tconst player = await this.Player()\n\t\tassert.isTrue(player instanceof ScriptPlayer)\n\t}\n\n\tprivate static async Player() {\n\t\treturn await ScriptLoader.LoadScripts({\n\t\t\tui: this.ui,\n\t\t\tdir: this.resolveTestPath('../support/scripts'),\n\t\t\tonboardingStore: this.Store('onboarding'),\n\t\t\tcommandExecuter: async (command: string) => {\n\t\t\t\tthis.commandExecuterCommands.push(command)\n\t\t\t},\n\t\t})\n\t}\n\n\t@test()\n\tprotected static async playsLoadedScripts() {\n\t\tconst player = await this.Player()\n\n\t\tawait player.playScriptWithKey('first')\n\n\t\tassert.doesInclude(this.ui.invocations, {\n\t\t\tcommand: 'renderLine',\n\t\t\toptions: { message: 'hello world' },\n\t\t})\n\n\t\tassert.doesInclude(this.ui.invocations, {\n\t\t\tcommand: 'renderLine',\n\t\t\toptions: { message: 'second script' },\n\t\t})\n\n\t\tassert.doesInclude(this.ui.invocations, {\n\t\t\tcommand: 'renderLine',\n\t\t\toptions: { message: 'the last script' },\n\t\t})\n\n\t\tassert.isLength(this.commandExecuterCommands, 1)\n\t\tassert.isEqual(\n\t\t\tthis.commandExecuterCommands[0],\n\t\t\t'first script command executed'\n\t\t)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;;;IAEqBA,0B,WAGnB,IAAAC,UAAA,G,UAKA,IAAAA,UAAA,G,UAiBA,IAAAA,UAAA,G;;;;;;;;;;;;WAtBD,0CACkD;MACjDC,YAAA,CAAOC,UAAP,CAAkBC,wBAAA,CAAaC,WAA/B;IACA;;;;uHAED;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEsB,KAAKC,MAAL,EAFtB;;cAAA;gBAEOC,MAFP;;gBAGCL,YAAA,CAAOM,MAAP,CAAcD,MAAM,YAAYE,wBAAhC;;cAHD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;kGAMA;QAAA;;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACcL,wBAAA,CAAaC,WAAb,CAAyB;kBACrCK,EAAE,EAAE,KAAKA,EAD4B;kBAErCC,GAAG,EAAE,KAAKC,eAAL,CAAqB,oBAArB,CAFgC;kBAGrCC,eAAe,EAAE,KAAKC,KAAL,CAAW,YAAX,CAHoB;kBAIrCC,eAAe;oBAAA,qGAAE,kBAAOC,OAAP;sBAAA;wBAAA;0BAAA;4BAAA;8BAChB,KAAI,CAACC,uBAAL,CAA6BC,IAA7B,CAAkCF,OAAlC;;4BADgB;4BAAA;8BAAA;0BAAA;wBAAA;sBAAA;oBAAA,CAAF;;oBAAA;sBAAA;oBAAA;;oBAAA;kBAAA;gBAJsB,CAAzB,CADd;;cAAA;gBAAA;;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;;8GAWA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEsB,KAAKV,MAAL,EAFtB;;cAAA;gBAEOC,MAFP;gBAAA;gBAAA,OAIOA,MAAM,CAACY,iBAAP,CAAyB,OAAzB,CAJP;;cAAA;gBAMCjB,YAAA,CAAOkB,WAAP,CAAmB,KAAKV,EAAL,CAAQW,WAA3B,EAAwC;kBACvCL,OAAO,EAAE,YAD8B;kBAEvCM,OAAO,EAAE;oBAAEC,OAAO,EAAE;kBAAX;gBAF8B,CAAxC;;gBAKArB,YAAA,CAAOkB,WAAP,CAAmB,KAAKV,EAAL,CAAQW,WAA3B,EAAwC;kBACvCL,OAAO,EAAE,YAD8B;kBAEvCM,OAAO,EAAE;oBAAEC,OAAO,EAAE;kBAAX;gBAF8B,CAAxC;;gBAKArB,YAAA,CAAOkB,WAAP,CAAmB,KAAKV,EAAL,CAAQW,WAA3B,EAAwC;kBACvCL,OAAO,EAAE,YAD8B;kBAEvCM,OAAO,EAAE;oBAAEC,OAAO,EAAE;kBAAX;gBAF8B,CAAxC;;gBAKArB,YAAA,CAAOsB,QAAP,CAAgB,KAAKP,uBAArB,EAA8C,CAA9C;;gBACAf,YAAA,CAAOuB,OAAP,CACC,KAAKR,uBAAL,CAA6B,CAA7B,CADD,EAEC,+BAFD;;cAtBD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EAzBuDS,4B,wEACJ,E"}
1
+ {"version":3,"file":"OnboardingScriptLoader.test.js","names":["OnboardingScriptLoaderTest","test","assert","isFunction","ScriptLoader","LoadScripts","Player","player","isTrue","ScriptPlayer","ui","dir","resolveTestPath","onboardingStore","Store","commandExecuter","command","commandExecuterCommands","push","playScriptWithKey","doesInclude","invocations","options","message","isLength","isEqual","AbstractCliTest"],"sources":["../../../src/__tests__/implementation/OnboardingScriptLoader.test.ts"],"sourcesContent":["import { test, assert } from '@sprucelabs/test-utils'\nimport ScriptLoader from '../../features/onboard/ScriptLoader'\nimport ScriptPlayer from '../../features/onboard/ScriptPlayer'\nimport AbstractCliTest from '../../tests/AbstractCliTest'\n\nexport default class OnboardingScriptLoaderTest extends AbstractCliTest {\n\tprivate static commandExecuterCommands: string[] = []\n\n\t@test()\n\tprotected static scripLoaderLoadScriptsFunction() {\n\t\tassert.isFunction(ScriptLoader.LoadScripts)\n\t}\n\n\t@test()\n\tprotected static async loadingScriptsReturnsPlayer() {\n\t\tconst player = await this.Player()\n\t\tassert.isTrue(player instanceof ScriptPlayer)\n\t}\n\n\tprivate static async Player() {\n\t\treturn await ScriptLoader.LoadScripts({\n\t\t\tui: this.ui,\n\t\t\tdir: this.resolveTestPath('../support/scripts'),\n\t\t\tonboardingStore: this.Store('onboarding'),\n\t\t\tcommandExecuter: async (command: string) => {\n\t\t\t\tthis.commandExecuterCommands.push(command)\n\t\t\t},\n\t\t})\n\t}\n\n\t@test()\n\tprotected static async playsLoadedScripts() {\n\t\tconst player = await this.Player()\n\n\t\tawait player.playScriptWithKey('first')\n\n\t\tassert.doesInclude(this.ui.invocations, {\n\t\t\tcommand: 'renderLine',\n\t\t\toptions: { message: 'hello world' },\n\t\t})\n\n\t\tassert.doesInclude(this.ui.invocations, {\n\t\t\tcommand: 'renderLine',\n\t\t\toptions: { message: 'second script' },\n\t\t})\n\n\t\tassert.doesInclude(this.ui.invocations, {\n\t\t\tcommand: 'renderLine',\n\t\t\toptions: { message: 'the last script' },\n\t\t})\n\n\t\tassert.isLength(this.commandExecuterCommands, 1)\n\t\tassert.isEqual(\n\t\t\tthis.commandExecuterCommands[0],\n\t\t\t'first script command executed'\n\t\t)\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;;;IAEqBA,0B,WAGnB,IAAAC,eAAA,G,UAKA,IAAAA,eAAA,G,UAiBA,IAAAA,eAAA,G;;;;;;;;;;;;WAtBD,0CACkD;MACj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B,EAAwC;kBACvCL,OAAO,EAAE,YAD8B;kBAEvCM,OAAO,EAAE;oBAAEC,OAAO,EAAE;kBAAX;gBAF8B,CAAxC;;gBAKArB,iBAAA,CAAOkB,WAAP,CAAmB,KAAKV,EAAL,CAAQW,WAA3B,EAAwC;kBACvCL,OAAO,EAAE,YAD8B;kBAEvCM,OAAO,EAAE;oBAAEC,OAAO,EAAE;kBAAX;gBAF8B,CAAxC;;gBAKArB,iBAAA,CAAOsB,QAAP,CAAgB,KAAKP,uBAArB,EAA8C,CAA9C;;gBACAf,iBAAA,CAAOuB,OAAP,CACC,KAAKR,uBAAL,CAA6B,CAA7B,CADD,EAEC,+BAFD;;cAtBD;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA,C;;;;;;;;;;EAzBuDS,4B,wEACJ,E"}
@@ -27,7 +27,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
27
27
 
28
28
  var _applyDecoratedDescriptor2 = _interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));
29
29
 
30
- var _test = require("@sprucelabs/test");
30
+ var _testUtils = require("@sprucelabs/test-utils");
31
31
 
32
32
  var _ScriptPlayer = _interopRequireDefault(require("../../features/onboard/ScriptPlayer"));
33
33
 
@@ -39,7 +39,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
39
39
 
40
40
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
41
41
 
42
- var OnboardingScriptPlayerTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.test)(), _dec3 = (0, _test.test)(), _dec4 = (0, _test.test)(), _dec5 = (0, _test.test)(), _dec6 = (0, _test.test)(), _dec7 = (0, _test.test)(), _dec8 = (0, _test.test)(), _dec9 = (0, _test.test)(), (_class = (_class2 = /*#__PURE__*/function (_AbstractCliTest) {
42
+ var OnboardingScriptPlayerTest = (_dec = (0, _testUtils.test)(), _dec2 = (0, _testUtils.test)(), _dec3 = (0, _testUtils.test)(), _dec4 = (0, _testUtils.test)(), _dec5 = (0, _testUtils.test)(), _dec6 = (0, _testUtils.test)(), _dec7 = (0, _testUtils.test)(), _dec8 = (0, _testUtils.test)(), _dec9 = (0, _testUtils.test)(), (_class = (_class2 = /*#__PURE__*/function (_AbstractCliTest) {
43
43
  (0, _inherits2["default"])(OnboardingScriptPlayerTest, _AbstractCliTest);
44
44
 
45
45
  var _super = _createSuper(OnboardingScriptPlayerTest);
@@ -110,7 +110,7 @@ var OnboardingScriptPlayerTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.te
110
110
  }, {
111
111
  key: "canCreateScriptPlayer",
112
112
  value: function canCreateScriptPlayer() {
113
- _test.assert.isTruthy(this.player);
113
+ _testUtils.assert.isTruthy(this.player);
114
114
  }
115
115
  }, {
116
116
  key: "canPlayTextScript",
@@ -124,7 +124,7 @@ var OnboardingScriptPlayerTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.te
124
124
  return this.player.playScript(['Hey there!']);
125
125
 
126
126
  case 2:
127
- _test.assert.doesInclude(this.ui.invocations, {
127
+ _testUtils.assert.doesInclude(this.ui.invocations, {
128
128
  command: 'renderLine',
129
129
  options: {
130
130
  message: 'Hey there!'
@@ -159,7 +159,7 @@ var OnboardingScriptPlayerTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.te
159
159
  }]);
160
160
 
161
161
  case 2:
162
- _test.assert.doesInclude(this.ui.invocations, {
162
+ _testUtils.assert.doesInclude(this.ui.invocations, {
163
163
  command: 'renderLine',
164
164
  options: {
165
165
  message: 'hello world'
@@ -211,7 +211,7 @@ var OnboardingScriptPlayerTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.te
211
211
  }()]);
212
212
 
213
213
  case 2:
214
- _test.assert.doesInclude(this.ui.invocations, {
214
+ _testUtils.assert.doesInclude(this.ui.invocations, {
215
215
  command: 'renderLine',
216
216
  options: {
217
217
  message: 'hello async world'
@@ -243,7 +243,7 @@ var OnboardingScriptPlayerTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.te
243
243
  switch (_context7.prev = _context7.next) {
244
244
  case 0:
245
245
  _context7.next = 2;
246
- return _test.assert.doesThrowAsync(function () {
246
+ return _testUtils.assert.doesThrowAsync(function () {
247
247
  return _this2.player.playScriptWithKey('not-found');
248
248
  });
249
249
 
@@ -275,14 +275,14 @@ var OnboardingScriptPlayerTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.te
275
275
  return this.player.playScriptWithKey('first');
276
276
 
277
277
  case 4:
278
- _test.assert.doesInclude(this.ui.invocations, {
278
+ _testUtils.assert.doesInclude(this.ui.invocations, {
279
279
  command: 'renderLine',
280
280
  options: {
281
281
  message: 'hey there'
282
282
  }
283
283
  });
284
284
 
285
- _test.assert.doesInclude(this.ui.invocations, {
285
+ _testUtils.assert.doesInclude(this.ui.invocations, {
286
286
  command: 'renderLine',
287
287
  options: {
288
288
  message: 'how are you'
@@ -293,14 +293,14 @@ var OnboardingScriptPlayerTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.te
293
293
  return this.player.playScriptWithKey('second');
294
294
 
295
295
  case 8:
296
- _test.assert.doesInclude(this.ui.invocations, {
296
+ _testUtils.assert.doesInclude(this.ui.invocations, {
297
297
  command: 'renderLine',
298
298
  options: {
299
299
  message: 'hey there 2'
300
300
  }
301
301
  });
302
302
 
303
- _test.assert.doesInclude(this.ui.invocations, {
303
+ _testUtils.assert.doesInclude(this.ui.invocations, {
304
304
  command: 'renderLine',
305
305
  options: {
306
306
  message: 'how are you 2'
@@ -338,21 +338,21 @@ var OnboardingScriptPlayerTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.te
338
338
  return this.player.playScriptWithKey('first');
339
339
 
340
340
  case 5:
341
- _test.assert.doesInclude(this.ui.invocations, {
341
+ _testUtils.assert.doesInclude(this.ui.invocations, {
342
342
  command: 'renderLine',
343
343
  options: {
344
344
  message: 'hey there 2'
345
345
  }
346
346
  });
347
347
 
348
- _test.assert.doesInclude(this.ui.invocations, {
348
+ _testUtils.assert.doesInclude(this.ui.invocations, {
349
349
  command: 'renderLine',
350
350
  options: {
351
351
  message: 'how are you 2'
352
352
  }
353
353
  });
354
354
 
355
- _test.assert.doesInclude(this.ui.invocations, {
355
+ _testUtils.assert.doesInclude(this.ui.invocations, {
356
356
  command: 'renderLine',
357
357
  options: {
358
358
  message: 'how are you 3'
@@ -391,7 +391,7 @@ var OnboardingScriptPlayerTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.te
391
391
  case 0:
392
392
  mode = player.onboardingStore.getMode();
393
393
 
394
- _test.assert.isEqual(mode, 'off');
394
+ _testUtils.assert.isEqual(mode, 'off');
395
395
 
396
396
  case 2:
397
397
  case "end":
@@ -452,9 +452,9 @@ var OnboardingScriptPlayerTest = (_dec = (0, _test.test)(), _dec2 = (0, _test.te
452
452
  }()]);
453
453
 
454
454
  case 2:
455
- _test.assert.isLength(this.commandExecuterCommands, 1);
455
+ _testUtils.assert.isLength(this.commandExecuterCommands, 1);
456
456
 
457
- _test.assert.isEqual(this.commandExecuterCommands[0], 'test.command');
457
+ _testUtils.assert.isEqual(this.commandExecuterCommands[0], 'test.command');
458
458
 
459
459
  case 4:
460
460
  case "end":