Skip to content

Commit

Permalink
feat(testing): new tuiAddSnapshotPlugin (for Cypress) (#1683)
Browse files Browse the repository at this point in the history
* feat(testing): new `tuiAddSnapshotPlugin` (for Cypress)

* feat(testing): new `tuiAddSnapshotPlugin` (for Cypress)

* ci: refactor testing module

* chore: fix `cypress:open` + improve typing

* ci: fix problem with re-export abstract `ComponentHarness`

* chore(testing): `tuiAddSnapshotPlugin` change to dynamic import

* chore(testing): improve `tuiAddSnapshotPlugin`

* chore: change snapshot mark with square brackets (it looks not fancy inside reg exp)

Co-authored-by: splincode <splincode@users.noreply.github.com>
Co-authored-by: splincode <splincodewd@yandex.ru>
  • Loading branch information
3 people authored May 4, 2022
1 parent 6f91070 commit 17658ab
Show file tree
Hide file tree
Showing 39 changed files with 255 additions and 271 deletions.
19 changes: 17 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -864,10 +864,25 @@
},
"testing": {
"root": "projects/testing",
"sourceRoot": "projects/testing/src",
"sourceRoot": "projects/testing",
"projectType": "library",
"prefix": "tui",
"architect": {}
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"outputs": ["dist/testing"],
"options": {
"tsConfig": "tsconfig.build.json",
"project": "projects/testing/ng-package.json"
},
"dependsOn": [
{
"target": "build",
"projects": "dependencies"
}
]
}
}
}
}
}
Loading

0 comments on commit 17658ab

Please sign in to comment.