diff options
Diffstat (limited to 'tests/javascript/unit/setup.ts')
-rw-r--r-- | tests/javascript/unit/setup.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/javascript/unit/setup.ts b/tests/javascript/unit/setup.ts index ec9d61f8f..f3b734953 100644 --- a/tests/javascript/unit/setup.ts +++ b/tests/javascript/unit/setup.ts @@ -1,10 +1,8 @@ import { config } from '@vue/test-utils' // Note: This was copied from nextcloud/tasks repo -// import { OC } from './OC.js' - -// TODO: will this be used? -// global.OC = new OC() +import { OC } from './OC' +(global as any).OC = new OC() // Mock nextcloud translate functions config.mocks.$t = function(_app: any, string: any) { |