Commit cab15b83 authored by Aléxia Dorneles's avatar Aléxia Dorneles
Browse files

feat(cypress): add typescript

parent df02368d
Pipeline #5067 failed with stages
in 0 seconds
Showing with 35 additions and 9 deletions
+35 -9
describe('empty spec', () => {
it('passes', () => {
cy.visit('https://idoso-mais.herokuapp.com/')
})
})
\ No newline at end of file
describe("empty spec", () => {
it("passes", () => {
cy.visit("https://idoso-mais.herokuapp.com/");
});
});
{
"compilerOptions": {
"target": "es5",
"lib": ["es5", "dom"],
"types": ["cypress", "node"]
},
"include": ["**/*.ts"]
}
......@@ -5,11 +5,11 @@
"requires": true,
"packages": {
"": {
"name": "idoso-mais-qa",
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"cypress": "^10.9.0"
"cypress": "^10.9.0",
"typescript": "^4.8.4"
}
},
"node_modules/@colors/colors": {
......@@ -1565,6 +1565,18 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/typescript": {
"version": "4.8.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz",
"integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=4.2.0"
}
},
"node_modules/universalify": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
......@@ -2778,6 +2790,11 @@
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
"integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w=="
},
"typescript": {
"version": "4.8.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz",
"integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ=="
},
"universalify": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
......
......@@ -4,11 +4,12 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "cypress run"
},
"author": "",
"license": "ISC",
"dependencies": {
"cypress": "^10.9.0"
"cypress": "^10.9.0",
"typescript": "^4.8.4"
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment