mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-06-01 14:26:17 -07:00
* Refactor to typescript (config part) * Refactor to typescript (convert extensions, minor fixes) * Refactor to typescript (move from `action` to `dist`) * Re-enable integrity-check for dist index.js * Fix all tests and lints * fix parsing major versions * Test patch level to be digits only * debug * debug * uncache * manual compile * debug * debug * Debug * Build lib - doh * remove diff check * Make kubernetes workflow manual * Properly generate 3 digit for simple major tags * Remove ts-ignore * re-enable cache
15 lines
461 B
TypeScript
15 lines
461 B
TypeScript
import NotImplementedException from './not-implemented-exception';
|
|
|
|
describe('NotImplementedException', () => {
|
|
it('instantiates', () => {
|
|
expect(() => new NotImplementedException()).not.toThrow();
|
|
});
|
|
|
|
test.each(['one'])('Displays title %s', (message) => {
|
|
const error = new NotImplementedException(message);
|
|
|
|
expect(error.name).toStrictEqual('NotImplementedException');
|
|
expect(error.message).toStrictEqual(message.toString());
|
|
});
|
|
});
|