File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ export default EntityDetailPage;
201
201
* @returns catalog prefix.
202
202
*/
203
203
function getCatalogPrefix ( defaultCatalog : string ) : string {
204
- //eslint-disable-next-line sonarjs/slow-regex -- catalog numbers should be short and are user provided
204
+ //eslint-disable-next-line sonarjs/slow-regex -- catalog numbers should be short and are not user provided
205
205
return defaultCatalog . replace ( / \d .* $ / , "" ) ; //TODO - are all catalog numbers less than a maximum length? could remove eslint ignore
206
206
}
207
207
Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ interface ErrorProps {
6
6
error ?: Error | null ;
7
7
}
8
8
9
- // eslint-disable-next-line sonarjs/no-globals-shadowing -- TODO not sure of reason for this
10
- const Error : NextPage < ErrorProps > = ( { error } : ErrorProps ) => {
9
+ const MyError : NextPage < ErrorProps > = ( { error } : ErrorProps ) => {
11
10
const { config } = useConfig ( ) ;
12
11
13
12
return error ? (
@@ -17,8 +16,8 @@ const Error: NextPage<ErrorProps> = ({ error }: ErrorProps) => {
17
16
) ;
18
17
} ;
19
18
20
- Error . getInitialProps = ( { err } : NextPageContext ) : ErrorProps => {
19
+ MyError . getInitialProps = ( { err } : NextPageContext ) : ErrorProps => {
21
20
return { error : err } ;
22
21
} ;
23
22
24
- export default Error ;
23
+ export default MyError ;
Original file line number Diff line number Diff line change @@ -33,6 +33,6 @@ const config: PlaywrightTestConfig = {
33
33
timeout : 240 * 1000 ,
34
34
url : "http://localhost:3000/" ,
35
35
} ,
36
- workers : "50 %" ,
36
+ workers : "75 %" ,
37
37
} ;
38
38
export default config ;
You can’t perform that action at this time.
0 commit comments