Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
David Faure committed Jul 22, 2024
1 parent 71ce937 commit 12cc0dc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
{
"files": ["*.html"],
"extends": ["plugin:@angular-eslint/template/recommended"],
"rules": {}
"rules": {
"@typescript-eslint/no-explicit-any": "warn"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Publish version on npm for Angular 8 compatibility"
name: "Publish version on npm for Angular view engine compatibility"

on:
workflow_dispatch:
Expand Down Expand Up @@ -43,4 +43,4 @@ jobs:
working-directory: ./dist/ngx-image-compress
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --tag angular-8-compatibility
run: npm publish --tag view-engine
4 changes: 3 additions & 1 deletion projects/ngx-image-compress/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
{
"files": ["*.html"],
"extends": ["plugin:@angular-eslint/template/recommended"],
"rules": {}
"rules": {
"@typescript-eslint/no-explicit-any": "warn"
}
}
]
}
2 changes: 1 addition & 1 deletion projects/ngx-image-compress/src/lib/image-compress.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {getSampleTestFiles, SampleFiles} from '../tests/sample-images-files.spec
import {ImageCompress} from './image-compress';
import {DOC_ORIENTATION} from './models/DOC_ORIENTATION';

describe(imageCompress.name, () => {
describe(ImageCompress.name, () => {
let testFiles: SampleFiles;
let mockRender: Partial<Renderer2>;
let mockInput: Partial<HTMLInputElement>;
Expand Down

0 comments on commit 12cc0dc

Please sign in to comment.