Commit graph

28 commits

Author SHA1 Message Date
be0874ac4c
test: Add tests for Nextflow release version resolver 2024-02-09 08:20:04 -06:00
ea3e21d0fa
test!: Remove testing utils for getting GitHub token
This is no longer needed under the new API.
2024-02-09 08:20:01 -06:00
c808397a09
feat!: Remove Octokit API 2024-02-09 08:19:59 -06:00
9231e026c0
test!: Remove version resolving tests for "latest*" versions
This functionality is now offloaded to the API.
2024-02-09 08:19:53 -06:00
da56dbefc9 test: Refactor API tests to work with combined functions
Now that we are lazy-loading the API pages, OctokitWrapper is handling the
conversion to NextflowRelease in one function call. This means we can't test
the API schema. That should be fine as we pinned the API version. We can
test that the resulting objects for validity, so do that.
2024-01-30 10:42:55 -06:00
91ef9fb65a test: Update testing framework to support iterators 2024-01-30 10:42:55 -06:00
2098c3cdb2 feat!: Remove manual API calling tests
These tests are no longer used since the switch to OctokitWrapper, and
conflict with packages required for the implementation of throttling, so
remove them.
2024-01-21 20:57:22 -06:00
mashehu
b30f81e0d5 add todo item back 2024-01-12 18:02:02 +00:00
mashehu
a082e105b0 make linter happy 2024-01-12 18:02:02 +00:00
f65da33a7d test: Update version checking tests 2024-01-12 18:02:02 +00:00
85718639f5 test: Update API consistency tests 2024-01-12 18:02:02 +00:00
Robrecht Cannoodt
e066eb124a Add helper function for checking the latest releases in the unit tests (#15). 2023-06-28 11:07:13 +02:00
Robrecht Cannoodt
7136a6f06e update more releases 2023-06-28 11:07:13 +02:00
Robrecht Cannoodt
07f474dd40 Fix release version check in unit test (#15). 2023-06-28 11:07:13 +02:00
Edmund Miller
0aeab8d284 style: Use double-quotes
Co-authored-by: ewels <ewels@users.noreply.github.com>
2022-11-17 19:32:25 +00:00
Edmund Miller
46187cd528 test: Add main test from template
Doesn't work yet though
2022-11-17 19:32:25 +00:00
Edmund Miller
95a4337530 style: Add simple-import-sort and run 2022-11-17 19:32:25 +00:00
Edmund Miller
981cd4fc2e style: Set bracketSpacing to true 2022-11-17 19:32:25 +00:00
Edmund Miller
7c79f790e0 chore: Clean up typing in tests 2022-11-17 19:32:25 +00:00
Edmund Miller
93ff0f7ef2 test: Write tests for release_data function 2022-11-17 19:32:25 +00:00
Edmund Miller
7a0ec2a9b4 chore: Clean up a bunch of object references
https://medium.com/@kgdilipchandana/how-to-solve-error-ts2339-property-label-does-not-exist-on-type-in-angular-5-db01843ef6a
2022-11-17 19:32:25 +00:00
Edmund Miller
ab89b450a6 chore: Remove eslint failure for ava import 2022-11-17 19:32:25 +00:00
Edmund Miller
03b7b3e3d3 test: Remove main test for now 2022-11-17 19:32:25 +00:00
Edmund Miller
ea5ce95ba5 test: Add basic call for release_data
I just want these for the typechecks
2022-11-17 19:32:25 +00:00
Edmund Miller
ed6b338f42 test: Add test for latest_stable_release_data 2022-11-17 19:32:25 +00:00
Edmund Miller
6cafaa8e2c test: Add initial check for all_nf_releases 2022-11-17 19:32:25 +00:00
Edmund Miller
b9a7fb9499 refactor: Move functions functions to their own file 2022-11-17 19:32:25 +00:00
Edmund Miller
db82c135bd build: Setup typescript tests
I don't know why I do this to myself. But it's done now.
https://github.com/OneSignal/OneSignal-Website-SDK
Yoinked the configs from here
2022-11-17 19:32:25 +00:00