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

13 lines
398 B

import * as assert from 'node:assert';
import { describe, it } from 'node:test';
import { MustExtendAppError } from '../../../src/server/errors';
describe('MustExtendAppError', () => {
it('verifyCompilerError', () => {
const er = new MustExtendAppError();
assert.strictEqual(er.name, 'MustExtendApp');
assert.strictEqual(er.message, 'App must extend the "App" abstract class.');
});
});