Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Commit

Permalink
Install dependencies for integration tests.
Browse files Browse the repository at this point in the history
Stylelint is required to be installed by the component for
`obt verify`. These tests are now _slow_ and could be improved...
  • Loading branch information
notlee authored and JakeChampion committed Dec 3, 2020
1 parent 248556f commit f4b3e8b
Show file tree
Hide file tree
Showing 7 changed files with 187 additions and 200 deletions.
17 changes: 17 additions & 0 deletions test/integration/verify/fixtures/js-bower-dependency/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "js-bower-dependency",
"version": "1.0.0",
"description": "test component",
"main": ".remarkrc.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"remark-preset-lint-origami-component": "^1.2.0",
"stylelint-config-origami-component": "^1.0.4",
"stylelint": "^13.7.0"
}
}
17 changes: 17 additions & 0 deletions test/integration/verify/fixtures/no-js-or-sass/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "no-js-or-sass",
"version": "1.0.0",
"description": "test component",
"main": ".remarkrc.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"remark-preset-lint-origami-component": "^1.2.0",
"stylelint-config-origami-component": "^1.0.4",
"stylelint": "^13.7.0"
}
}
3 changes: 2 additions & 1 deletion test/integration/verify/fixtures/readme-invalid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"devDependencies": {
"eslint-config-origami-component": "^1.1.1",
"remark-preset-lint-origami-component": "1.1.3",
"stylelint-config-origami-component": "^1.0.4"
"stylelint-config-origami-component": "^1.0.4",
"stylelint": "^13.7.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"license": "ISC",
"devDependencies": {
"remark-preset-lint-origami-component": "^1.2.0",
"stylelint-config-origami-component": "^1.0.4"
"stylelint-config-origami-component": "^1.0.4",
"stylelint": "^13.7.0"
}
}
3 changes: 2 additions & 1 deletion test/integration/verify/fixtures/sass-invalid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"author": "",
"license": "ISC",
"devDependencies": {
"stylelint-config-origami-component": "^1.0.4"
"stylelint-config-origami-component": "^1.0.4",
"stylelint": "^13.7.0"
}
}
Loading

0 comments on commit f4b3e8b

Please sign in to comment.