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.test.ts

13 lines
397 B

import * as assert from 'node:assert';
import { describe, it } from 'node:test';
import { CompilerError } from '../../../src/server/errors';
describe('CompilerError', () => {
it('verifyCompilerError', () => {
const er = new CompilerError('syntax');
assert.strictEqual(er.name, 'CompilerError');
assert.strictEqual(er.message, 'An error occured while compiling an App: syntax');
});
});