text: const { createLocalServer } = require('../lib/servers');
  
  describe('server', () => {
    let server;
  
    afterEach(() => {
      server = null;
    });
    test('Should create a server', () => {
      server = createLocalServer('url');
      expect(server).toHaveProperty('add');
      expect(server).toHaveProperty('addDir');
      expect(server).toHaveProperty('change');
      expect(server).toHaveProperty('ready');
      expect(server).toHaveProperty('unlink');
      expect(server).toHaveProperty('unlinkDir');
    });
  });
  