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/CompilerError.spec.ts

14 lines
378 B

import { Expect, Test } from 'alsatian';
import { CompilerError } from '../../../src/server/errors';
export class CompilerErrorTestFixture {
@Test()
public verifyCompilerError() {
const er = new CompilerError('syntax');
Expect(er.name).toBe('CompilerError');
Expect(er.message).toBe('An error occured while compiling an App: syntax');
}
}