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', '--file',
`${collectorScript}`, `${collectorScript}`,
'--no-warnings', '--no-warnings',
'--timeout',
'5000',
], ],
{ stdio: 'inherit' } { stdio: 'inherit' }
).on('exit', function (code) { ).on('exit', function (code) {

View file

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