The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/packages/apps-engine/tests/server/errors/MustExtendAppError.spec.ts

13 lines
379 B

import { Expect, Test } from 'alsatian';
import { MustExtendAppError } from '../../../src/server/errors';
export class MustExtendAppErrorTestFixture {
@Test()
public verifyCompilerError() {
const er = new MustExtendAppError();
Expect(er.name).toBe('MustExtendApp');
Expect(er.message).toBe('App must extend the "App" abstract class.');
}
}