I want to do a check in Angular2, which consists of verifying that said file is there and that it has not been deleted accidentally.
The problem is that I realize that I am comparing the strings, not the file itself.
it('I check routes i18n', () => {
const i18nEs = "../../../server/i18n/es.json";
const i18nIng = "../../../server/i18n/en.json"
expect(i18nEs).toBe("../../../server/i18n/es.json");
expect(i18nIng).toBe("../../../server/i18n/en.json");
});