import { me } from "../utils/dev";
describe("Person: Me", () => {
const hobbies = ["listening musics", "playing soccer", "playing video games", "drink coffe", "code", "eat"];
it("must show personal characteristics", () => {
expect(me.name).toBe("André")
expect(me.description).toBe("I'm a technology hunter and passionate for programing as a hobby.
I have started my professional front end engineer journey building
apps with React and Typescript. I love to contribute for open source
communities, to explore new tecnologies and to follow accompany technology communities")
expect(me.hobbies).toEqual(expect.arrayContaining(hobbies));
});
it("must show professional characteristics", () => {
expect(me.currentWork).toBe("Syngenta Digital")
});
const languagesAndTools = ["Js", "Ts", "React", "NextJs", "Angular", "Jest", "Vite", "HTML", "CSS", "Others"]
it.each(languagesAndTools)("must show familiar languages and tools", (item) => {
expect(me.languagesAndTools.includes(item)).toBeTruthy();
});
});
andrersfc Goto Github PK
Name: André Simões
Type: User
Bio: hunting codes
Location: Belo Horizonte, Brasil
Blog: http://andresimoes.dev/