mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
ci: Drop support for Node.js 18 (#15146)
This commit is contained in:
committed by
GitHub
parent
40de4ed91c
commit
3bdbdfe6ce
@@ -1,6 +1,5 @@
|
||||
/** @type {import('jest').Config} */
|
||||
module.exports = {
|
||||
...require('../../../jest.config'),
|
||||
setupFilesAfterEnv: ['n8n-workflow/test/setup.ts'],
|
||||
testTimeout: 10_000,
|
||||
};
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
// WebCrypto Polyfill for older versions of Node.js 18
|
||||
if (!globalThis.crypto?.getRandomValues) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-var-requires, @typescript-eslint/no-unsafe-member-access
|
||||
globalThis.crypto = require('node:crypto').webcrypto;
|
||||
}
|
||||
@@ -1,4 +1,3 @@
|
||||
import './polyfills';
|
||||
import { Container } from '@n8n/di';
|
||||
import { ensureError, setGlobalState } from 'n8n-workflow';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user