fix: IsWeekend not checking if DateTime (#5221) (no-changelog)

This commit is contained in:
Valya
2023-01-23 13:28:17 +00:00
committed by GitHub
parent 3ea83d872e
commit 683492155e
3 changed files with 25 additions and 22 deletions

View File

@@ -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,
{},
);