From fa3c9a8c47172b289d33bea07de380ff2bf5dffd Mon Sep 17 00:00:00 2001 From: dapplion Date: Tue, 1 Dec 2020 08:22:58 +0000 Subject: [PATCH] Store spec tests data in local directory --- .gitignore | 3 +++ test/params.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0e4aaad..2a1ace1 100644 --- a/.gitignore +++ b/.gitignore @@ -67,3 +67,6 @@ lib/ benchmark-reports .vscode/ + +# Eth2.0 spec tests data +test/spec-tests diff --git a/test/params.ts b/test/params.ts index b58b7a4..0be2cf5 100644 --- a/test/params.ts +++ b/test/params.ts @@ -2,4 +2,4 @@ import path from "path"; export const SPEC_TEST_VERSION = "v1.0.0"; export const SPEC_TEST_TO_DOWNLOAD = ["general" as "general"]; -export const SPEC_TESTS_DIR = path.join(__dirname, "../node_modules/@chainsafe/eth2-spec-tests/tests"); +export const SPEC_TESTS_DIR = path.join(__dirname, "spec-tests");