mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
14 lines
259 B
TypeScript
14 lines
259 B
TypeScript
import { z } from 'zod';
|
|
|
|
import { parseConst } from '../../src/parsers/parse-const';
|
|
|
|
describe('parseConst', () => {
|
|
test('should handle falsy constants', () => {
|
|
expect(
|
|
parseConst({
|
|
const: false,
|
|
}),
|
|
).toMatchZod(z.literal(false));
|
|
});
|
|
});
|