@@ -49,33 +49,35 @@ describe('Notification URL', function () {
4949
5050describe ( 'Certificate config' , function ( ) {
5151 it ( 'should have a certificate path' , function ( ) {
52- assert (
52+ ( assert (
5353 process . env . CERTIFICATE_PATH && process . env . CERTIFICATE_PATH . length > 0 ,
5454 ) ,
5555 'CERTIFICATE_PATH is not set in .env\n' +
56- 'Please provide a relative path and file name' ;
56+ 'Please provide a relative path and file name' ) ;
5757 } ) ;
5858
5959 it ( 'should have a certificate ID' , function ( ) {
60- assert ( process . env . CERTIFICATE_ID && process . env . CERTIFICATE_ID . length > 0 ) ,
60+ ( assert (
61+ process . env . CERTIFICATE_ID && process . env . CERTIFICATE_ID . length > 0 ,
62+ ) ,
6163 'CERTIFICATE_ID is not set in .env\n' +
62- 'Please provide an identifier for the certificate' ;
64+ 'Please provide an identifier for the certificate' ) ;
6365 } ) ;
6466
6567 it ( 'should have a private key path' , function ( ) {
66- assert (
68+ ( assert (
6769 process . env . PRIVATE_KEY_PATH && process . env . PRIVATE_KEY_PATH . length > 0 ,
6870 ) ,
6971 'PRIVATE_KEY_PATH is not set in .env\n' +
70- 'Please provide a relative path and file name' ;
72+ 'Please provide a relative path and file name' ) ;
7173 } ) ;
7274
7375 it ( 'should have a private key password' , function ( ) {
74- assert (
76+ ( assert (
7577 process . env . PRIVATE_KEY_PASSWORD &&
7678 process . env . PRIVATE_KEY_PASSWORD . length > 0 ,
7779 ) ,
7880 'PRIVATE_KEY_PASSWORD is not set in .env\n' +
79- 'Please provide a password for the private key' ;
81+ 'Please provide a password for the private key' ) ;
8082 } ) ;
8183} ) ;
0 commit comments