diff --git a/scripts/test b/scripts/test index f710ebda4..f5636c35c 100755 --- a/scripts/test +++ b/scripts/test @@ -1,5 +1,3 @@ #!/bin/sh -# For now we only check the Svelte files. -npm test -npx nyc report +npm test && npx nyc report diff --git a/src/SeedAddress.spec.ts b/src/SeedAddress.spec.ts index abeeb1ebc..2bc72a876 100644 --- a/src/SeedAddress.spec.ts +++ b/src/SeedAddress.spec.ts @@ -6,8 +6,10 @@ describe('SeedAddress', function () { it("Renders correctly", () => { mount(SeedAddress, { props: { - id: "hydkkkf5ksbe5fuszdhpqhytu3q36gwagj874wxwpo5a8ti8coygh1", - host: "seed.cloudhead.io", + seed: { + id: "hydkkkf5ksbe5fuszdhpqhytu3q36gwagj874wxwpo5a8ti8coygh1", + host: "seed.cloudhead.io", + }, port: 8776 } }, styles); diff --git a/src/base/projects/BranchSelector.spec.ts b/src/base/projects/BranchSelector.spec.ts index 40fc6f030..56267f3e9 100644 --- a/src/base/projects/BranchSelector.spec.ts +++ b/src/base/projects/BranchSelector.spec.ts @@ -5,17 +5,15 @@ import { styles } from "@test/support/index"; const defaultProps = { project: { head: "e678629cd37c770c640a2cd997fc76303c815772", - meta: { - name: "nakamoto", - description: "Privacy-preserving Bitcoin light-client implementation in Rust", - defaultBranch: "master", - maintainers: [ - "rad:git:hnrkqdpm9ub19oc8dccx44echy76hzfsezyio" - ], - delegates: [ - "hyn9diwfnytahjq8u3iw63h9jte1ydcatxax3saymwdxqu1zo645pe" - ] - } + name: "nakamoto", + description: "Privacy-preserving Bitcoin light-client implementation in Rust", + defaultBranch: "master", + maintainers: [ + "rad:git:hnrkqdpm9ub19oc8dccx44echy76hzfsezyio" + ], + delegates: [ + "hyn9diwfnytahjq8u3iw63h9jte1ydcatxax3saymwdxqu1zo645pe" + ] }, branches: [ ["master", "e678629cd37c770c640a2cd997fc76303c815772"]