1
0
Fork 0

what if we don't render?

This commit is contained in:
Enoch Riese 2022-11-15 14:59:42 -06:00
parent d921cc700d
commit d24e792ddc
2 changed files with 4 additions and 1 deletions

View file

@ -26,6 +26,8 @@ spawn(
'--file',
`${collectorScript}`,
'--no-warnings',
'--timeout',
'5000',
],
{ stdio: 'inherit' }
).on('exit', function (code) {

View file

@ -19,7 +19,8 @@ export const testPatternDrafting = (Pattern, log = false) => {
// Helper method to try/catch pattern drafting
const doesItDraftAndRender = (pattern, log = false) => {
try {
pattern.draft().render()
pattern.draft()
// .render()
if (log) {
console.log(pattern.store.logs)
console.log(pattern.setStores[0].logs)