From ec71200f0e16b0a8998fe437bf84845e7691feb0 Mon Sep 17 00:00:00 2001 From: bendtherules Date: Mon, 6 Apr 2026 13:07:17 +0530 Subject: [PATCH] test(bunfig): add pathIgnorePatterns to ignore unnecessary folders during testing - Removed default test root setting. - Introduced `pathIgnorePatterns` list with multiple directories (engine262, spec-built, node_modules, dist, build, coverage, .idea, docs, storage, graphology, .git) to be excluded from test runs and module resolution. --- bunfig.toml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/bunfig.toml b/bunfig.toml index d34602b..c181319 100644 --- a/bunfig.toml +++ b/bunfig.toml @@ -1,3 +1,15 @@ [test] -# Only run tests in the test/ directory, ignoring engine262/ and other subdirectories -root = "./test" +# Ignore these folders during testing and module resolution +pathIgnorePatterns = [ + "engine262/**", + "spec-built/**", + "node_modules/**", + "dist/**", + "build/**", + "coverage/**", + ".idea/**", + "docs/**", + "storage/**", + "graphology/**", + ".git/**", +]