1
0
Fork 0

fix(plugin-annotations): Don't load core plugins in tests

This commit is contained in:
joostdecock 2023-09-08 10:50:03 +02:00
parent 6a7cc334ba
commit 31e7b50ba1
14 changed files with 96 additions and 114 deletions

View file

@ -23,7 +23,7 @@ describe('Dimension Plugin Tests', () => {
plugins: [annotationsPlugin],
}
// Note that we're not loading core plugins but the local plugin
const Test = new Design({ parts: [part] }, true)
const Test = new Design({ parts: [part], noCorePlugins: true })
const pattern = new Test()
pattern.draft()
@ -83,7 +83,7 @@ describe('Dimension Plugin Tests', () => {
plugins: [annotationsPlugin],
}
// Note that we're not loading core plugins but the local plugin
const Test = new Design({ parts: [part] }, true)
const Test = new Design({ parts: [part], noCorePlugins: true })
const pattern = new Test()
pattern.draft()
@ -143,7 +143,7 @@ describe('Dimension Plugin Tests', () => {
plugins: [annotationsPlugin],
}
// Note that we're not loading core plugins but the local plugin
const Test = new Design({ parts: [part] }, true)
const Test = new Design({ parts: [part], noCorePlugins: true })
const pattern = new Test()
pattern.draft()
@ -204,7 +204,7 @@ describe('Dimension Plugin Tests', () => {
plugins: [annotationsPlugin],
}
// Note that we're not loading core plugins but the local plugin
const Test = new Design({ parts: [part] }, true)
const Test = new Design({ parts: [part], noCorePlugins: true })
const pattern = new Test()
pattern.draft()