Skip to content

Commit 7bec591

Browse files
committed
fix vitest failure by adding expected value to global variable
Signed-off-by: Andrew Backhouse <andrew.backhouse@nextcloud.com>
1 parent c59e61d commit 7bec591

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/tests/setup.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ Vue.prototype.t = global.t
1212
Vue.prototype.n = global.n
1313
Vue.prototype.OC = global.OC
1414
Vue.prototype.OCA = global.OCA
15+
// suppress errors from not-explicitly-imported @nc-vue component
16+
global.appName = 'text'

0 commit comments

Comments
 (0)