Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
fc9b20a43This file is pinned to the selected release. Download the original to open it in your design tool.
import CodeFile from "./CodeFile";
import CodeLocation from "./CodeLocation";
describe("CodeLocation", () => {
it("stringifies itself and matches snapshot", () => {
const str = new CodeLocation(new CodeFile("s", "d"), 34, 4, 8).toString();
expect(str).toMatchSnapshot();
});
it("constructs", () => {
new CodeLocation();
});
});