fix(plugin-annotations): Don't load core plugins in tests
This commit is contained in:
parent
6a7cc334ba
commit
31e7b50ba1
14 changed files with 96 additions and 114 deletions
|
@ -11,7 +11,7 @@ const part = {
|
|||
},
|
||||
plugins: [annotationsPlugin],
|
||||
}
|
||||
const Pattern = new Design({ parts: [part] })
|
||||
const Pattern = new Design({ parts: [part], noCorePlugins: true })
|
||||
const pattern = new Pattern()
|
||||
pattern.draft().render()
|
||||
|
||||
|
@ -32,7 +32,7 @@ describe('Notches Plugin Test', () => {
|
|||
},
|
||||
plugins: [annotationsPlugin],
|
||||
}
|
||||
const Pattern = new Design({ parts: [part] })
|
||||
const Pattern = new Design({ parts: [part], noCorePlugins: true })
|
||||
const pattern = new Pattern()
|
||||
pattern.draft().render()
|
||||
const c = pattern.svg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue