import chai from "chai";
import chaiString from "chai-string";
chai.use(chaiString);
let expect = chai.expect;

export function hello(line: number, msg: string) {
  return String(line) + ":" + msg + "!";
}

describe("From the simpel file", () => {
  describe("Testing add function", () => {
    const result = hello(1, "Full steam ahead");
    it("Ends with '!'", () => {
      expect(result).is.endWith("!");
    });
    it("Start with 1", () => {
      expect(result).is.startWith(String(1));
    });
  });
});
