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',
|
'--file',
|
||||||
`${collectorScript}`,
|
`${collectorScript}`,
|
||||||
'--no-warnings',
|
'--no-warnings',
|
||||||
|
'--timeout',
|
||||||
|
'5000',
|
||||||
],
|
],
|
||||||
{ stdio: 'inherit' }
|
{ stdio: 'inherit' }
|
||||||
).on('exit', function (code) {
|
).on('exit', function (code) {
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue