@sync-in/server
Version:
The secure, open-source platform for file storage, sharing, collaboration, and sync
36 lines (35 loc) • 1.32 kB
JavaScript
/*
* Copyright (C) 2012-2025 Johan Legrand <johan.legrand@sync-in.com>
* This file is part of Sync-in | The open source file sync and share solution
* See the LICENSE file for licensing details
*/ "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const _testing = require("@nestjs/testing");
const _spacesbrowserservice = require("../../spaces/services/spaces-browser.service");
const _spacesmanagerservice = require("../../spaces/services/spaces-manager.service");
const _webdavspacesservice = require("./webdav-spaces.service");
describe(_webdavspacesservice.WebDAVSpaces.name, ()=>{
let service;
beforeAll(async ()=>{
const module = await _testing.Test.createTestingModule({
providers: [
{
provide: _spacesbrowserservice.SpacesBrowser,
useValue: {}
},
{
provide: _spacesmanagerservice.SpacesManager,
useValue: {}
},
_webdavspacesservice.WebDAVSpaces
]
}).compile();
service = module.get(_webdavspacesservice.WebDAVSpaces);
});
it('should be defined', ()=>{
expect(service).toBeDefined();
});
});
//# sourceMappingURL=webdav-spaces.service.spec.js.map