mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-11 03:16:48 +03:00
tests: remove crashing test
This commit is contained in:
parent
552c9b693c
commit
34defb0d74
|
@ -15,14 +15,6 @@ describe('Utils', () => {
|
|||
specMgr.load('/tests/schemas/extended-petstore.yml').should.be.instanceof(Promise);
|
||||
});
|
||||
|
||||
it('load should reject promise for invalid url', (done)=> {
|
||||
specMgr.load('/nonexisting/schema.json').then(() => {
|
||||
throw new Error('Success handler should not be called');
|
||||
}, () => {
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
it('load should resolve promise for valid url', (done)=> {
|
||||
specMgr.load('/tests/schemas/extended-petstore.yml').then(() => {
|
||||
done();
|
||||
|
|
Loading…
Reference in New Issue
Block a user