Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Feb 21, 2024
1 parent dcd926c commit b7ae55a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/js/material.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ 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 TOTAL_NUMBER_OF_MATERIALS = 28;
const TOTAL_NUMBER_OF_MATERIALS = 29;

describe("Materials Standata", () => {
it("can return the list of all materials", () => {
const materialConfigs = MaterialStandata.getRuntimeDataConfigs();
console.log(` Number of materials found: ${materialConfigs.length}`);
expect(materialConfigs.length).to.be.equal(TOTAL_NUMBER_OF_MATERIALS);
});

Expand Down

0 comments on commit b7ae55a

Please sign in to comment.