Make the checks pass on a fresh clone

- build.rs creates the empty browser-engine folder that tauri-build
  requires, so cargo test runs before the browser runtime is staged.
- The Table Formulas tests skip with a reason when the package is not
  built. Before, the missing module failed two whole test files.
- The installer test accepts CRLF checkouts and skips with a reason
  when the NSIS compiler is missing.
- hostTodo.spec.mjs never ran because of its extension. Its two valid
  background tests move to appearance.spec.ts with current defaults.
  The third test repeated an existing export test.
- Remove tsconfig.plugins.json. It checked the plugins/ folder, which
  moved to separate repositories in 0.1.7.
This commit is contained in:
Knotty Wyvern
2026-10-27 19:41:08 -07:00
parent 2d2a146e34
commit 90d1940c73
8 changed files with 50 additions and 53 deletions
+3
View File
@@ -1,4 +1,7 @@
fn main() {
// tauri-build requires every bundle resource to exist. `pnpm browser:stage` fills this
// folder for installers. An empty folder lets `cargo test` and `tauri dev` run without it.
std::fs::create_dir_all("browser-engine").expect("failed to create browser-engine");
tauri_build::try_build(
tauri_build::Attributes::new().app_manifest(
tauri_build::AppManifest::new().commands(&[