--- Begin Message ---
Package: src:node-codemirror-state
Version: 6.2.0-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
A wiki page discussing possible solutions is available here:
https://wiki.debian.org/Javascript/KnownPatches?pow_referer=#node-babel7_8
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:node-codemirror-state, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
[7m61[0m let st = mk(num.compute([str], s =>
s.facet(str).join().length),
[7m [0m [91m ~[0m
[96mtest/test-facet.ts[0m:[93m62[0m:[93m37[0m - [91merror[0m[90m
TS7006: [0mParameter 's' implicitly has an 'any' type.
[7m62[0m str.compute([bool], s =>
s.facet(bool).toString()))
[7m [0m [91m ~[0m
[96mtest/test-facet.ts[0m:[93m66[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m66[0m it("can specify a dependency on the document", () => {
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m68[0m:[93m38[0m - [91merror[0m[90m
TS7006: [0mParameter '_' implicitly has an 'any' type.
[7m68[0m let st = mk(num.compute(["doc"], _ => count++))
[7m [0m [91m ~[0m
[96mtest/test-facet.ts[0m:[93m76[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m76[0m it("can specify a dependency on the selection", () => {
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m78[0m:[93m44[0m - [91merror[0m[90m
TS7006: [0mParameter '_' implicitly has an 'any' type.
[7m78[0m let st = mk(num.compute(["selection"], _ => count++))
[7m [0m [91m ~[0m
[96mtest/test-facet.ts[0m:[93m88[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m88[0m it("can provide multiple values at once", () => {
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m89[0m:[93m39[0m - [91merror[0m[90m
TS7006: [0mParameter 's' implicitly has an 'any' type.
[7m89[0m let st = mk(num.computeN(["doc"], s => s.doc.length % 2 ?
[100, 10] : []), num.of(1))
[7m [0m [91m ~[0m
[96mtest/test-facet.ts[0m:[93m95[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m95[0m it("works with a static combined facet", () => {
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m96[0m:[93m52[0m - [91merror[0m[90m
TS7006: [0mParameter 'ns' implicitly has an 'any' type.
[7m96[0m let f = Facet.define<number, number>({combine: ns =>
ns.reduce((a, b) => a + b, 0)})
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m96[0m:[93m69[0m - [91merror[0m[90m
TS7006: [0mParameter 'a' implicitly has an 'any' type.
[7m96[0m let f = Facet.define<number, number>({combine: ns =>
ns.reduce((a, b) => a + b, 0)})
[7m [0m [91m
~[0m
[96mtest/test-facet.ts[0m:[93m96[0m:[93m72[0m - [91merror[0m[90m
TS7006: [0mParameter 'b' implicitly has an 'any' type.
[7m96[0m let f = Facet.define<number, number>({combine: ns =>
ns.reduce((a, b) => a + b, 0)})
[7m [0m [91m
~[0m
[96mtest/test-facet.ts[0m:[93m101[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m101[0m it("works with a dynamic combined facet", () => {
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m102[0m:[93m52[0m - [91merror[0m[90m
TS7006: [0mParameter 'ns' implicitly has an 'any' type.
[7m102[0m let f = Facet.define<number, number>({combine: ns =>
ns.reduce((a, b) => a + b, 0)})
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m102[0m:[93m69[0m - [91merror[0m[90m
TS7006: [0mParameter 'a' implicitly has an 'any' type.
[7m102[0m let f = Facet.define<number, number>({combine: ns =>
ns.reduce((a, b) => a + b, 0)})
[7m [0m [91m
~[0m
[96mtest/test-facet.ts[0m:[93m102[0m:[93m72[0m - [91merror[0m[90m
TS7006: [0mParameter 'b' implicitly has an 'any' type.
[7m102[0m let f = Facet.define<number, number>({combine: ns =>
ns.reduce((a, b) => a + b, 0)})
[7m [0m [91m
~[0m
[96mtest/test-facet.ts[0m:[93m103[0m:[93m45[0m - [91merror[0m[90m
TS7006: [0mParameter 's' implicitly has an 'any' type.
[7m103[0m let st = mk(f.of(1), f.compute(["doc"], s => s.doc.length),
f.of(3))
[7m [0m [91m ~[0m
[96mtest/test-facet.ts[0m:[93m109[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m109[0m it("survives reconfiguration", () => {
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m110[0m:[93m38[0m - [91merror[0m[90m
TS7006: [0mParameter 's' implicitly has an 'any' type.
[7m110[0m let st = mk(num.compute(["doc"], s => s.doc.length),
num.of(2), str.of("3"))
[7m [0m [91m ~[0m
[96mtest/test-facet.ts[0m:[93m111[0m:[93m84[0m - [91merror[0m[90m
TS7006: [0mParameter 's' implicitly has an 'any' type.
[7m111[0m let st2 = st.update({effects:
StateEffect.reconfigure.of([num.compute(["doc"], s => s.doc.length),
num.of(2)])}).state
[7m [0m [91m
~[0m
[96mtest/test-facet.ts[0m:[93m116[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m116[0m it("survives unrelated reconfiguration even without
deep-compare", () => {
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m118[0m:[93m16[0m - [91merror[0m[90m
TS7006: [0mParameter 'v' implicitly has an 'any' type.
[7m118[0m combine: v => ({count: v.length})
[7m [0m [91m ~[0m
[96mtest/test-facet.ts[0m:[93m120[0m:[93m36[0m - [91merror[0m[90m
TS7006: [0mParameter 's' implicitly has an 'any' type.
[7m120[0m let st = mk(f.compute(["doc"], s => s.doc.length), f.of(2))
[7m [0m [91m ~[0m
[96mtest/test-facet.ts[0m:[93m125[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m125[0m it("preserves static facets across reconfiguration", () => {
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m131[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m131[0m it("creates newly added fields when reconfiguring", () => {
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m149[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m149[0m it("applies effects from reconfiguring transaction to new
fields", () => {
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m153[0m:[93m14[0m - [91merror[0m[90m
TS7006: [0mParameter 'state' implicitly has an 'any' type.
[7m153[0m create(state) {
[7m [0m [91m ~~~~~[0m
[96mtest/test-facet.ts[0m:[93m156[0m:[93m14[0m - [91merror[0m[90m
TS7006: [0mParameter 'val' implicitly has an 'any' type.
[7m156[0m update(val, tr) {
[7m [0m [91m ~~~[0m
[96mtest/test-facet.ts[0m:[93m156[0m:[93m19[0m - [91merror[0m[90m
TS7006: [0mParameter 'tr' implicitly has an 'any' type.
[7m156[0m update(val, tr) {
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m157[0m:[93m35[0m - [91merror[0m[90m
TS7006: [0mParameter 'val' implicitly has an 'any' type.
[7m157[0m return tr.effects.reduce((val, e) => e.is(effect) ? val
+ e.value : val, val)
[7m [0m [91m ~~~[0m
[96mtest/test-facet.ts[0m:[93m157[0m:[93m40[0m - [91merror[0m[90m
TS7006: [0mParameter 'e' implicitly has an 'any' type.
[7m157[0m return tr.effects.reduce((val, e) => e.is(effect) ? val
+ e.value : val, val)
[7m [0m [91m ~[0m
[96mtest/test-facet.ts[0m:[93m167[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m167[0m it("errors on cyclic dependencies", () => {
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m168[0m:[93m44[0m - [91merror[0m[90m
TS7006: [0mParameter 's' implicitly has an 'any' type.
[7m168[0m ist.throws(() => mk(num.compute([str], s =>
s.facet(str).length), str.compute([num], s => s.facet(num).join())),
[7m [0m [91m ~[0m
[96mtest/test-facet.ts[0m:[93m168[0m:[93m90[0m - [91merror[0m[90m
TS7006: [0mParameter 's' implicitly has an 'any' type.
[7m168[0m ist.throws(() => mk(num.compute([str], s =>
s.facet(str).length), str.compute([num], s => s.facet(num).join())),
[7m [0m [91m
~[0m
[96mtest/test-facet.ts[0m:[93m172[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m172[0m it("updates facets computed from static values on
reconfigure", () => {
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m173[0m:[93m36[0m - [91merror[0m[90m
TS7006: [0mParameter 'state' implicitly has an 'any' type.
[7m173[0m let st = mk(num.compute([str], state =>
state.facet(str).length), str.of("A"))
[7m [0m [91m ~~~~~[0m
[96mtest/test-facet.ts[0m:[93m179[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m179[0m it("preserves dynamic facet values when dependencies stay the
same", () => {
[7m [0m [91m ~~[0m
[96mtest/test-facet.ts[0m:[93m181[0m:[93m32[0m - [91merror[0m[90m
TS7006: [0mParameter 'state' implicitly has an 'any' type.
[7m181[0m let st1 = mk(f.compute([], state => ({a: 1})), str.of("A"))
[7m [0m [91m ~~~~~[0m
FAIL test/test-selection.ts
â Test suite failed to run
[96mtest/test-selection.ts[0m:[93m2[0m:[93m31[0m -
[91merror[0m[90m TS7016: [0mCould not find a declaration file for module
'@codemirror/state'. '/<<PKGBUILDDIR>>/dist/index.cjs' implicitly has an 'any'
type.
Try `npm i --save-dev @types/codemirror__state` if it exists or add a new
declaration (.d.ts) file containing `declare module '@codemirror/state';`
[7m2[0m import {EditorSelection} from "@codemirror/state"
[7m [0m [91m ~~~~~~~~~~~~~~~~~~~[0m
[96mtest/test-selection.ts[0m:[93m4[0m:[93m1[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'describe'. Do you need to install type
definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i
--save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in
your tsconfig.
[7m4[0m describe("EditorSelection", () => {
[7m [0m [91m~~~~~~~~[0m
[96mtest/test-selection.ts[0m:[93m5[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m5[0m it("stores ranges with a primary range", () => {
[7m [0m [91m ~~[0m
[96mtest/test-selection.ts[0m:[93m11[0m:[93m24[0m -
[91merror[0m[90m TS7006: [0mParameter 'r' implicitly has an 'any' type.
[7m11[0m ist(sel.ranges.map(r => r.anchor + "/" + r.head).join(","),
"0/1,3/2,4/5")
[7m [0m [91m ~[0m
[96mtest/test-selection.ts[0m:[93m14[0m:[93m3[0m -
[91merror[0m[90m TS2593: [0mCannot find name 'it'. Do you need to install
type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm
i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in
your tsconfig.
[7m14[0m it("merges and sorts ranges when normalizing", () => {
[7m [0m [91m ~~[0m
[96mtest/test-selection.ts[0m:[93m25[0m:[93m24[0m -
[91merror[0m[90m TS7006: [0mParameter 'r' implicitly has an 'any' type.
[7m25[0m ist(sel.ranges.map(r => r.anchor + "/" + r.head).join(","),
"0/6,6/7,7/8,9/13,13/14")
[7m [0m [91m ~[0m
[96mtest/test-selection.ts[0m:[93m28[0m:[93m3[0m -
[91merror[0m[90m TS2593: [0mCannot find name 'it'. Do you need to install
type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm
i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in
your tsconfig.
[7m28[0m it("merges adjacent point ranges when normalizing", () => {
[7m [0m [91m ~~[0m
[96mtest/test-selection.ts[0m:[93m36[0m:[93m24[0m -
[91merror[0m[90m TS7006: [0mParameter 'r' implicitly has an 'any' type.
[7m36[0m ist(sel.ranges.map(r => r.anchor + "/" + r.head).join(","),
"8/10,10/12")
[7m [0m [91m ~[0m
[96mtest/test-selection.ts[0m:[93m39[0m:[93m3[0m -
[91merror[0m[90m TS2593: [0mCannot find name 'it'. Do you need to install
type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm
i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in
your tsconfig.
[7m39[0m it("preserves the direction of the last range when merging
ranges", () => {
[7m [0m [91m ~~[0m
[96mtest/test-selection.ts[0m:[93m41[0m:[93m24[0m -
[91merror[0m[90m TS7006: [0mParameter 'r' implicitly has an 'any' type.
[7m41[0m ist(sel.ranges.map(r => r.anchor + "/" + r.head).join(","),
"10/0")
[7m [0m [91m ~[0m
FAIL test/test-cluster.ts
â Test suite failed to run
[96mtest/test-cluster.ts[0m:[93m1[0m:[93m57[0m - [91merror[0m[90m
TS7016: [0mCould not find a declaration file for module '@codemirror/state'.
'/<<PKGBUILDDIR>>/dist/index.cjs' implicitly has an 'any' type.
Try `npm i --save-dev @types/codemirror__state` if it exists or add a new
declaration (.d.ts) file containing `declare module '@codemirror/state';`
[7m1[0m import {findClusterBreak, countColumn, findColumn} from
"@codemirror/state"
[7m [0m [91m
~~~~~~~~~~~~~~~~~~~[0m
[96mtest/test-cluster.ts[0m:[93m4[0m:[93m1[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'describe'. Do you need to install type
definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i
--save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in
your tsconfig.
[7m4[0m describe("findClusterBreak", () => {
[7m [0m [91m~~~~~~~~[0m
[96mtest/test-cluster.ts[0m:[93m6[0m:[93m5[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m6[0m it(spec, () => {
[7m [0m [91m ~~[0m
[96mtest/test-cluster.ts[0m:[93m29[0m:[93m1[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'describe'. Do you need to install type
definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i
--save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in
your tsconfig.
[7m29[0m describe("countColumn", () => {
[7m [0m [91m~~~~~~~~[0m
[96mtest/test-cluster.ts[0m:[93m30[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m30[0m it("counts characters", () => ist(countColumn("abc", 4), 3))
[7m [0m [91m ~~[0m
[96mtest/test-cluster.ts[0m:[93m32[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m32[0m it("counts tabs correctly", () =>
ist(countColumn("a\t\tbc\tx", 4), 13))
[7m [0m [91m ~~[0m
[96mtest/test-cluster.ts[0m:[93m34[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m34[0m it("handles clusters", () => ist(countColumn("aðð«ð·",
4), 3))
[7m [0m [91m ~~[0m
[96mtest/test-cluster.ts[0m:[93m37[0m:[93m1[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'describe'. Do you need to install type
definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i
--save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in
your tsconfig.
[7m37[0m describe("findColumn", () => {
[7m [0m [91m~~~~~~~~[0m
[96mtest/test-cluster.ts[0m:[93m38[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m38[0m it("finds positions", () => ist(findColumn("abc", 3, 4), 3))
[7m [0m [91m ~~[0m
[96mtest/test-cluster.ts[0m:[93m40[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m40[0m it("counts tabs", () => ist(findColumn("a\tbc", 4, 4), 2))
[7m [0m [91m ~~[0m
[96mtest/test-cluster.ts[0m:[93m42[0m:[93m3[0m - [91merror[0m[90m
TS2593: [0mCannot find name 'it'. Do you need to install type definitions for
a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev
@types/mocha` and then add 'jest' or 'mocha' to the types field in your
tsconfig.
[7m42[0m it("handles clusters", () => ist(findColumn("aðð«ð·bc",
4, 4), 8))
[7m [0m [91m ~~[0m
FAIL test/test-charcategory.ts
â Test suite failed to run
[96mtest/test-charcategory.ts[0m:[93m1[0m:[93m52[0m -
[91merror[0m[90m TS7016: [0mCould not find a declaration file for module
'@codemirror/state'. '/<<PKGBUILDDIR>>/dist/index.cjs' implicitly has an 'any'
type.
Try `npm i --save-dev @types/codemirror__state` if it exists or add a new
declaration (.d.ts) file containing `declare module '@codemirror/state';`
[7m1[0m import {EditorState, Extension, CharCategory} from
"@codemirror/state"
[7m [0m [91m
~~~~~~~~~~~~~~~~~~~[0m
[96mtest/test-charcategory.ts[0m:[93m8[0m:[93m1[0m -
[91merror[0m[90m TS2593: [0mCannot find name 'describe'. Do you need to
install type definitions for a test runner? Try `npm i --save-dev @types/jest`
or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types
field in your tsconfig.
[7m8[0m describe("EditorState char categorizer", () => {
[7m [0m [91m~~~~~~~~[0m
[96mtest/test-charcategory.ts[0m:[93m9[0m:[93m3[0m -
[91merror[0m[90m TS2593: [0mCannot find name 'it'. Do you need to install
type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm
i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in
your tsconfig.
[7m9[0m it("categorises into alphanumeric", () => {
[7m [0m [91m ~~[0m
[96mtest/test-charcategory.ts[0m:[93m15[0m:[93m3[0m -
[91merror[0m[90m TS2593: [0mCannot find name 'it'. Do you need to install
type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm
i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in
your tsconfig.
[7m15[0m it("categorises into whitespace", () => {
[7m [0m [91m ~~[0m
[96mtest/test-charcategory.ts[0m:[93m20[0m:[93m3[0m -
[91merror[0m[90m TS2593: [0mCannot find name 'it'. Do you need to install
type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm
i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in
your tsconfig.
[7m20[0m it("categorises into other", () => {
[7m [0m [91m ~~[0m
Test Suites: 8 failed, 8 total
Tests: 0 total
Snapshots: 0 total
Time: 0.937 s
Ran all test suites.
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---