From f215f9f4fd54587fa0e5ba21f1289314e6e2a954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Tue, 4 Oct 2022 17:36:09 +0200 Subject: [PATCH] Make sure svelte-check checks component specs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rūdolfs Ošiņš --- scripts/check | 3 ++- src/base/projects/BranchSelector.spec.ts | 8 +------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/scripts/check b/scripts/check index 918cf7b65..d32c09844 100755 --- a/scripts/check +++ b/scripts/check @@ -1,4 +1,5 @@ #!/bin/sh set -e -npx tsc --noEmit && npx svelte-check +npx tsc --noEmit +npx svelte-check --tsconfig tsconfig.json diff --git a/src/base/projects/BranchSelector.spec.ts b/src/base/projects/BranchSelector.spec.ts index 9d3e07678..81550c041 100644 --- a/src/base/projects/BranchSelector.spec.ts +++ b/src/base/projects/BranchSelector.spec.ts @@ -40,14 +40,8 @@ describe("Logic", () => { props: { ...defaultProps, project: { + ...project, head: null, - urn: "rad:git:hnrkqdpm9ub19oc8dccx44echy76hzfsezyio", - name: "nakamoto", - description: - "Privacy-preserving Bitcoin light-client implementation in Rust", - defaultBranch: "master", - maintainers: ["rad:git:hnrkqdpm9ub19oc8dccx44echy76hzfsezyio"], - delegates: ["hyn9diwfnytahjq8u3iw63h9jte1ydcatxax3saymwdxqu1zo645pe"], }, }, });