Initial structure for the repo with some preliminary snippets and their corresponding tests cases

Initial structure for the repo with some preliminary snippets and their corresponding tests cases.

This preliminary MR includes the following:

  • hook folder, that contains the snippets of code that will be Custom Hooks in GrowthBook, organized per project
    • A few preliminary custom hooks are implemented already to test all this
  • tests folder, that contains test cases per custom hook, also organized per project
    • A few preliminary test cases are included to test all this
  • It has a minimal pipeline for gitlab to run test cases

The above proves that snippets can be written and tested in isolation here before being pushed to GrowthBook (in principle via the API)

Bug: T436013

Edited by Santiago Faci

Merge request reports

Loading