mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Set correct timezone in luxon (#3115)
This commit is contained in:
@@ -277,6 +277,8 @@ describe('CredentialsHelper', () => {
|
||||
nodeTypes,
|
||||
});
|
||||
|
||||
const timezone = 'America/New_York';
|
||||
|
||||
for (const testData of tests) {
|
||||
test(testData.description, async () => {
|
||||
const credentialTypes: ICredentialTypeData = {
|
||||
@@ -296,6 +298,7 @@ describe('CredentialsHelper', () => {
|
||||
JSON.parse(JSON.stringify(incomingRequestOptions)),
|
||||
workflow,
|
||||
node,
|
||||
timezone,
|
||||
);
|
||||
|
||||
expect(result).toEqual(testData.output);
|
||||
|
||||
Reference in New Issue
Block a user