diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..2066ef2 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,19 @@ +{ + // Utilisez IntelliSense pour en savoir plus sur les attributs possibles. + // Pointez pour afficher la description des attributs existants. + // Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Test Cypress via NPM", + "cwd": "${workspaceFolder}", + "type": "node", + "request": "launch", + "runtimeExecutable": "npm", + "runtimeArgs": [ + "run-script", + "test" + ] + } + ] +} \ No newline at end of file diff --git a/package.json b/package.json index 01b774a..d98f2ff 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,8 @@ "version": "0.0.1", "main": "index.js", "scripts": { - "start": "nodemon index.js" + "start": "nodemon index.js", + "test": "cypress open" }, "devDependencies": { "cypress": "^8.3.0",