Skip to content

test : added test script and security-tests directory for CI test suite - #16

Open
tmdeveloper007 wants to merge 1 commit into
syedahmedkhaderi:mainfrom
tmdeveloper007:#test-infra
Open

test : added test script and security-tests directory for CI test suite#16
tmdeveloper007 wants to merge 1 commit into
syedahmedkhaderi:mainfrom
tmdeveloper007:#test-infra

Conversation

@tmdeveloper007

Copy link
Copy Markdown

Summary of What Has Been Done:
Added npm run test and npm run test:security scripts to package.json using Node.js built-in test runner. Created the security-tests/ directory as the canonical location for unit and security tests in this repository. The CI workflow previously ran npm run test which had no script defined, causing the test step to fail.

Changes Made:

  • package.json: added test:security script (node --test security-tests/*.test.cjs) and test script (npm run test:security)
  • security-tests/.gitkeep: placeholder file establishing the test directory convention

Impact it Made:

  • CI test step now runs and produces output
  • Establishes test infrastructure convention for future test additions
  • Enables automated verification of security tests in CI

Add npm run test and npm run test:security scripts using Node.js
built-in test runner. Create security-tests/ directory as the
canonical location for unit and security tests.

The CI workflow runs npm run test which previously had no script
defined, causing the test step to fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant