what if we don't render?
This commit is contained in:
parent
d921cc700d
commit
d24e792ddc
2 changed files with 4 additions and 1 deletions
|
@ -26,6 +26,8 @@ spawn(
|
|||
'--file',
|
||||
`${collectorScript}`,
|
||||
'--no-warnings',
|
||||
'--timeout',
|
||||
'5000',
|
||||
],
|
||||
{ stdio: 'inherit' }
|
||||
).on('exit', function (code) {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue