editor: do not build test files

This commit is contained in:
Abdullah Atta
2023-02-28 12:44:11 +05:00
parent 24c899e709
commit 092016f942
4 changed files with 4 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import "@/tests.setup";
import "./tests.setup";
import { Editor, AnyExtension, Extensions } from "@tiptap/core";
import StarterKit from "@tiptap/starter-kit";
import { builders, NodeBuilder } from "prosemirror-test-builder";

View File

@@ -9,5 +9,6 @@
"@/*": ["*"]
}
},
"include": ["src/"]
"exclude": ["src/**/*.test.ts"],
"include": ["src/**/*"]
}

View File

@@ -15,5 +15,5 @@
"swc": true,
"require": ["tsconfig-paths/register"]
},
"include": ["src/", "index.ts"]
"include": ["src/"]
}