@@ -260,18 +260,6 @@ describe('AWS Batch OpenMP Benchmark Stack', () => {
260260 } ) ;
261261
262262 describe ( 'Script Files' , ( ) => {
263- test ( 'submit-job script exists and is executable' , ( ) => {
264- const fs = require ( 'fs' ) ;
265- const path = require ( 'path' ) ;
266-
267- const scriptPath = path . join ( __dirname , '..' , 'scripts' , 'submit-job.sh' ) ;
268- expect ( fs . existsSync ( scriptPath ) ) . toBe ( true ) ;
269-
270- // Check if file is executable (has execute permission)
271- const stats = fs . statSync ( scriptPath ) ;
272- expect ( stats . mode & parseInt ( '111' , 8 ) ) . toBeGreaterThan ( 0 ) ;
273- } ) ;
274-
275263 test ( 'build-and-deploy script includes deployment info capture' , ( ) => {
276264 const fs = require ( 'fs' ) ;
277265 const path = require ( 'path' ) ;
@@ -284,37 +272,6 @@ describe('AWS Batch OpenMP Benchmark Stack', () => {
284272 expect ( scriptContent ) . toContain ( 'stackOutputs' ) ;
285273 expect ( scriptContent ) . toContain ( 'awsProfile' ) ;
286274 } ) ;
287-
288- test ( 'package.json follows standard format' , ( ) => {
289- const fs = require ( 'fs' ) ;
290- const path = require ( 'path' ) ;
291-
292- const packagePath = path . join ( __dirname , '..' , 'package.json' ) ;
293- const packageJson = JSON . parse ( fs . readFileSync ( packagePath , 'utf8' ) ) ;
294-
295- // Check standard fields
296- expect ( packageJson ) . toHaveProperty ( 'name' , 'batch-ecr-lambda' ) ;
297- expect ( packageJson ) . toHaveProperty ( 'description' ) ;
298- expect ( packageJson ) . toHaveProperty ( 'private' , true ) ;
299- expect ( packageJson ) . toHaveProperty ( 'author' ) ;
300- expect ( packageJson ) . toHaveProperty ( 'license' , 'Apache-2.0' ) ;
301-
302- // Check standard scripts
303- expect ( packageJson . scripts ) . toHaveProperty ( 'build' , 'tsc' ) ;
304- expect ( packageJson . scripts ) . toHaveProperty ( 'watch' , 'tsc -w' ) ;
305- expect ( packageJson . scripts ) . toHaveProperty ( 'test' , 'jest' ) ;
306- expect ( packageJson . scripts ) . toHaveProperty ( 'cdk' , 'cdk' ) ;
307- } ) ;
308-
309- test ( 'gitignore includes deployment-info.json' , ( ) => {
310- const fs = require ( 'fs' ) ;
311- const path = require ( 'path' ) ;
312-
313- const gitignorePath = path . join ( __dirname , '..' , '.gitignore' ) ;
314- const gitignoreContent = fs . readFileSync ( gitignorePath , 'utf8' ) ;
315-
316- expect ( gitignoreContent ) . toContain ( 'deployment-info.json' ) ;
317- } ) ;
318275 } ) ;
319276
320277 describe ( 'Security Best Practices' , ( ) => {
0 commit comments