Skip to content

Commit

Permalink
Created test-app that includes test for all packages (#198)
Browse files Browse the repository at this point in the history
* Added test -app and button tests

* Updated packages

* Added missing types

* Added rest of the the tests

* Added missing plugin imports

* Added missing package

* removed lint

* fixed js lint errors

* fixed hbs lint errors

* Fixed integration test in notifications

* Added test-app to workspace

* Added test-app to learna.json packages config

* fixed learna.json config

* Fix sinon dep in test app; Remove unneeded deps

* Remove unused deps from test app

* Added ember-try and config

* updated test command in test-app

* changed emtry-try config

* updated test-app package commands

* Grouped tests by package

* fixed safe-styles integration test

* deleted the moved tests from packages

Co-authored-by: Josemar Luedke <josemarluedke@gmail.com>
  • Loading branch information
eugenioenko and josemarluedke committed Mar 21, 2022
1 parent fb2750f commit 0db6ea2
Show file tree
Hide file tree
Showing 110 changed files with 17,474 additions and 3,004 deletions.
8 changes: 8 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,28 @@
/packages/*/blueprints/*/files/
/packages/*/vendor/
/site/vendor/
/test-app/vendor/

# compiled output
/packages/*/dist/
/packages/*/tmp/

/site/dist/
/site/tmp/
/test-app/dist/
/test-app/tmp/
/test-app/ember-cli-build.js
/test-app/testem.js
/test-app/app/config/
/test-app/config/

# dependencies
/bower_components/
/node_modules/
/packages/*/bower_components/
/packages/*/node_modules/
/site/node_modules/
/test-app/node_modules/
/site/lib/docfy-theme/node_modules/
/site/lib/docfy-theme/addon/components/args-data.js

Expand Down
9 changes: 8 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,14 @@ module.exports = {
'site/tests/dummy/config/**/*.js',
'site/**/tailwind.config.js',
'site/.docfy-config.js',
'site/lib/docfy-theme/*.js'
'site/lib/docfy-theme/*.js',
'test-app/ember-cli-build.js',
'test-app/testem.js',
'test-app/config/**/*.js',
'test-app/tests/dummy/config/**/*.js',
'test-app/**/tailwind.config.js',
'test-app/.docfy-config.js',
'test-app/lib/docfy-theme/*.js'
],
extends: ['@underline/eslint-config-node'],
rules: {}
Expand Down
9 changes: 2 additions & 7 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
{
"version": "0.13.1",
"packages": [
"packages/*"
],
"packages": ["packages/*", "test-app"],
"npmClient": "yarn",
"useWorkspaces": true,
"command": {
"bootstrap": {
"npmClientArgs": [
"--frozen-lockfile",
"--non-interactive"
]
"npmClientArgs": ["--frozen-lockfile", "--non-interactive"]
}
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"workspaces": [
"packages/*",
"site",
"site/lib/docfy-theme"
"site/lib/docfy-theme",
"test-app"
],
"scripts": {
"lint:hbs": "ember-template-lint .",
Expand Down

This file was deleted.

79 changes: 0 additions & 79 deletions packages/core/tests/integration/components/close-button-test.ts

This file was deleted.

Loading

0 comments on commit 0db6ea2

Please sign in to comment.