mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-10 07:27:57 -05:00
* feat(executor): split executor into specialized components * fix(executor): if there is a dependency on a block that is not along the selected path, ignore it; if we are at max iterations for a loop, stop * feat(exector): cleanup inline comments in executor * fix(executor): fix issue in removeDownstreamBlocks when we are breaking out of a loop to prevent infinite recursion * feat(executor/tests): setup initial testing directory * feat(executor): make the path selection for routing/conditional blocks independent of context, instead of deactivating paths we just activate others
18 lines
457 B
JavaScript
18 lines
457 B
JavaScript
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
|
|
|
// Test paths
|
|
testMatch: ['**/tests/**/*.test.{ts,tsx,js,jsx}', '**/__tests__/**/*.test.{ts,tsx,js,jsx}'],
|
|
testPathIgnorePatterns: ['/node_modules/', '/dist/'],
|
|
|
|
// Module resolution
|
|
moduleNameMapper: {
|
|
'^@/(.*)$': '<rootDir>/$1',
|
|
},
|
|
|
|
// Setup files
|
|
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
|
|
}
|