Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions packages/ignition-ui/.mocharc.json

This file was deleted.

12 changes: 0 additions & 12 deletions packages/ignition-ui/.nycrc

This file was deleted.

15 changes: 7 additions & 8 deletions packages/ignition-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
"dev": "vite --force",
"build": "tsc --build .",
"pretest": "pnpm build",
"test": "mocha --recursive \"test/**/*.ts\"",
"test:coverage": "nyc mocha --recursive \"test/**/*.ts\"",
"pretest:only": "pnpm build",
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
"test:coverage": "c8 --reporter html --reporter text --all --exclude test --exclude \"src/**/{types,type-extensions}.ts\" --src src node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
"regenerate-deployment-example": "node ./scripts/generate-example-deployment-json.js",
"lint": "pnpm eslint && pnpm prettier --check",
"lint:fix": "pnpm eslint --fix && pnpm prettier --write",
Expand All @@ -31,18 +33,15 @@
],
"devDependencies": {
"@fontsource/roboto": "^5.3.0",
"@nomicfoundation/hardhat-node-test-reporter": "workspace:^3.1.0",
"@nomicfoundation/ignition-core": "workspace:^3.1.2",
"@types/chai": "^5.2.3",
"@types/chai-as-promised": "^8.0.1",
"@types/mocha": ">=10.0.10",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^6.0.0",
"chai": "^6.2.2",
"chai-as-promised": "^8.0.0",
"c8": "^12.0.0",
"eslint": "9.39.5",
"mermaid": "^11.0.0",
"mocha": "^12.0.0",
"prettier": "3.9.10",
"react": "^19.0.0",
"react-dom": "^19.0.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/ignition-ui/test/to-mermaid.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import assert from "node:assert/strict";
import { describe, it } from "node:test";

import {
type Artifact,
type IgnitionModule,
buildModule,
} from "@nomicfoundation/ignition-core";
import { assert } from "chai";

import { toMermaid } from "../src/utils/to-mermaid.js";

Expand Down
2 changes: 1 addition & 1 deletion packages/ignition-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"types": ["mocha"],
"types": ["node"],

/* Linting */
"strict": true,
Expand Down
45 changes: 18 additions & 27 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion scripts/test-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ EXAMPLES
// These use Mocha or composite runners and aren't supported by test:file.
// Remove entries here once a package migrates to node --test.
const UNSUPPORTED_TEST_RUNNERS = new Set([
"@nomicfoundation/ignition-ui",
"@nomicfoundation/hardhat-ignition",
"@nomicfoundation/ignition-core",
"@nomicfoundation/example-project",
Expand Down
Loading