CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/hub/copy-path.test.ts
Views: 687
1
import { test_err2str } from "./copy-path";
2
3
test("converting an error to a string", () => {
4
const s = test_err2str(Error("sample error"));
5
expect(s).toEqual("sample error");
6
});
7
8