Koha-clms/xt
Mason James 0dd483c871 Bug 37490: Add a test to detect when yarn.lock is not updated
to test...

1/ set koha repo to state where yarn.lock is not updated

    $ git reset --hard 67db70d4

2/ run test, observe FAIL

    $ prove ./xt/verify-yarnlock.t
    ./xt/verify-yarnlock.t .. error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile`.
    ./xt/verify-yarnlock.t .. 1/1
    #   Failed test 'verify yarn.lock file is updated correctly'
    ...
    Result: FAIL

3/ set koha repo to state where yarn.lock is updated

    $ yarn install

4/ note yarn.lock is now updated

    $ git status
    ...
    modified:   yarn.lock

5/ run test, observe SUCCESS

    $ prove -v ./xt/verify-yarnlock.t
    ./xt/verify-yarnlock.t ..
    ok 1 - verify yarn.lock file is updated correctly
    All tests successful.
    Files=1, Tests=1,  1 wallclock secs ( 0.02 usr  0.01 sys +  1.16 cusr  0.27 csys =  1.46 CPU)
    Result: PASS

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 8f0dc36f0d)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit e4b57f0aa0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2024-12-02 10:03:14 +01:00
..
author Bug 31590: Remove Text::CSV::Unicode 2022-09-21 16:07:21 -03:00
api.t Bug 37018: Add 400 response definition to all routes 2024-07-25 09:58:11 +02:00
check_makefile.t Bug 34911: Test files from HEAD instead of 'master' 2023-10-04 09:15:35 -04:00
find-cud.t Bug 36176: Exclude misc/releases_notes/* 2024-03-27 07:53:08 +01:00
find-license-problems.t
…
find-misplaced-executables.t
…
find-missing-auth_checks.t Bug 24879: Exclude koha_perl_deps.pl 2024-03-27 07:54:16 +01:00
find-missing-filters.t Bug 33743: Make xt/find-missing-filters.t and xt/single_quotes.t check directories in git index only 2023-05-16 12:56:41 +02:00
single_quotes.t Bug 33743: Make xt/find-missing-filters.t and xt/single_quotes.t check directories in git index only 2023-05-16 12:56:41 +02:00
tt_valid.t
…
verify-debian-docbook.t
…
verify-yarnlock.t Bug 37490: Add a test to detect when yarn.lock is not updated 2024-12-02 10:03:14 +01:00
verify_bib1.att.t Bug 32741: Regression tests 2023-02-02 11:59:26 -03:00
vue_tidy.t Bug 33625: Adjust test to deal with cypress tests 2023-05-17 10:24:59 -03:00
yaml_valid.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
yaml_valid.t Bug 28617: (QA follow-up) Restore FindBin in two places 2021-12-07 12:16:28 -10:00