Skip to content

Moved helpers.js to tests/integration#2452

Merged
J12934 merged 4 commits intomainfrom
maintenance/helpers-move
Apr 16, 2024
Merged

Moved helpers.js to tests/integration#2452
J12934 merged 4 commits intomainfrom
maintenance/helpers-move

Conversation

@Ilyesbdlala
Copy link
Member

Description

A while ago I created units tests for helpers.js #2177. However, I forgot that we use two duplicate helpers.js files. One for scanners and one for hooks. This is AFAIK a relict of an older project structure and is no longer required. So I moved helpers.js to tests/integration and changed the references in /scanners to point to the new location. Now both hooks and scanners use the same test file.

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure that all your commits are signed-off and that you are added to the Contributors file.
  • Make sure that all CI finish successfully.
  • Optional (but appreciated): Make sure that all commits are Verified.

@netlify
Copy link

netlify bot commented Apr 16, 2024

Deploy Preview for docs-securecodebox canceled.

Name Link
🔨 Latest commit 98a35ab
🔍 Latest deploy log https://app.netlify.com/sites/docs-securecodebox/deploys/661e6972912bb200095527ee

@github-actions
Copy link

github-actions bot commented Apr 16, 2024

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
⚠️ ACTION actionlint 1 5 0.32s
⚠️ JAVASCRIPT eslint 27 1 0.53s
✅ JSON eslint-plugin-jsonc 13 0 1.41s
✅ YAML prettier 1 0 0.74s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@Ilyesbdlala Ilyesbdlala force-pushed the maintenance/helpers-move branch from 16a258e to cdf003c Compare April 16, 2024 09:50
@Ilyesbdlala Ilyesbdlala force-pushed the maintenance/helpers-move branch from cdf003c to e53197a Compare April 16, 2024 10:57
@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Issues
3 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.1% Duplication on New Code

See analysis details on SonarCloud

@Ilyesbdlala Ilyesbdlala requested a review from J12934 April 16, 2024 12:56
@J12934 J12934 merged commit bf2dc6c into main Apr 16, 2024
@J12934 J12934 deleted the maintenance/helpers-move branch April 16, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants