From d55a1bc8e4e77cb136fd8d355f9e680f77415099 Mon Sep 17 00:00:00 2001 From: VsevolodX <79542055+VsevolodX@users.noreply.github.com> Date: Fri, 25 Oct 2024 19:15:49 -0700 Subject: [PATCH] chore: remove smart thing --- tests/js/material.test.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/js/material.test.ts b/tests/js/material.test.ts index e85e092..c440da2 100644 --- a/tests/js/material.test.ts +++ b/tests/js/material.test.ts @@ -1,6 +1,4 @@ import { expect } from "chai"; -import fs from "fs"; -import path from "path"; import h_BN from "../../materials/BN-[Hexagonal_Boron_Nitride]-HEX_[P6%2Fmmm]_2D_[Monolayer]-[2dm-4991].json"; import Graphene from "../../materials/C-[Graphene]-HEX_[P6%2Fmmm]_2D_[Monolayer]-[2dm-3993].json"; @@ -9,9 +7,7 @@ import Si from "../../materials/Si-[Silicon]-FCC_[Fd-3m]_3D_[Bulk]-[mp-149].json import WS2 from "../../materials/WS2-[Tungsten_Disulfide]-HEX_[P-6m2]_2D_[Monolayer]-[2dm-3749].json"; import { MaterialStandata } from "../../src/js"; -const materialsSourcePath = path.join(__dirname, "materials/source"); -const poscarFiles = fs.readdirSync(materialsSourcePath).filter((file) => file.endsWith(".poscar")); -const TOTAL_NUMBER_OF_MATERIALS = poscarFiles.length; +const TOTAL_NUMBER_OF_MATERIALS = 30; describe("Materials Standata", () => { it("can return the list of all materials", () => {