mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix: IsWeekend not checking if DateTime (#5221) (no-changelog)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { Expression, INodeExecutionData, Workflow } from '../../src';
|
||||
import * as Helpers from '../Helpers';
|
||||
|
||||
export const TEST_TIMEZONE = 'America/New_York';
|
||||
|
||||
export const nodeTypes = Helpers.NodeTypes();
|
||||
export const workflow = new Workflow({
|
||||
nodes: [
|
||||
@@ -28,7 +30,7 @@ export const evaluate = (value: string, values?: INodeExecutionData[]) =>
|
||||
'node',
|
||||
values ?? [],
|
||||
'manual',
|
||||
'America/New_York',
|
||||
TEST_TIMEZONE,
|
||||
{},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user