Steven Silvester 8 лет назад
Родитель
Сommit
e5376f341e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      test/src/docregistry/context.spec.ts

+ 1 - 1
test/src/docregistry/context.spec.ts

@@ -388,7 +388,7 @@ describe('docregistry/context', () => {
     describe('#resolveUrl()', () => {
 
       it('should resolve a relative url to a correct server path', (done) => {
-        context.resolve('./foo').then(path => {
+        context.resolveUrl('./foo').then(path => {
           expect(path).to.be('foo');
         }).then(done, done);
       });