Lovell Fuller
4f9f8179a6
Linter: apply all recommended biome settings
...
Enforces previously-skipped useArrowFunction check
2025-11-04 09:41:45 +00:00
Lovell Fuller
1f2f33d9a7
Ensure licensing headers are retained by code bundlers
2025-10-31 11:52:41 +00:00
Lovell Fuller
f2978651f0
Migrate from mocha to Node.js native test runner
...
Includes coverage reports when using Node.js 22 onwards
2025-09-21 12:03:27 +01:00
Lovell Fuller
b36237ddcb
Switch linter from semistandard to biome
...
Uses the recommended rules apart from complexity/useArrowFunction,
which would affect about 1700 lines of code with little benefit
right now. This is something that can be addressed over time.
2025-09-18 21:18:31 +01:00
Adriaan Meuris
29336f4cc7
Ensure negate op occurs after profile conversion ( #4096 )
...
- Adds CMYK to CMYK profile conversion tests
- Fixes existing greyscale plus alpha test expectation
2024-05-13 12:23:11 +01:00
Lovell Fuller
b763801d68
Ensure profile-less CMYK roundtrip skips space conv #3620
2023-04-11 20:31:57 +01:00
Lovell Fuller
6c61ad256f
Ensure all source code files contain SPDX licence
2023-02-28 17:01:58 +00:00
Lovell Fuller
104464c2e0
Ensure images with P3 profiles retain full gamut #2862
2021-08-30 17:15:17 +01:00
Daiz
bb48d0d857
Add pipelineColourspace operator
2021-07-14 13:45:47 +01:00
Lovell Fuller
a0f55252b1
Tests: a few more speed improvements
2021-03-15 20:24:13 +00:00
Lovell Fuller
a64844689e
Deprecate background, add op-specific prop to resize/extend/flatten #1392
2018-10-01 20:58:55 +01:00
Lovell Fuller
c3274e480b
Deprecate crop, embed, ignoreAspectRatio, max, min, withoutEnlargement.
...
These become options of the resize operation instead. #1135
2018-09-30 20:16:27 +01:00
Lovell Fuller
deb978bf57
Remove use of deprecated functions from test code
2016-11-04 10:18:29 +00:00
Lovell Fuller
8717ecc429
Modularise JS source in 'lib' subdirectory.
...
Generate public API documention via jsdoc comments.
2016-11-02 09:25:20 +00:00
Lovell Fuller
cbdbbe535a
Update tests to meet semistandard code standards
...
Switch to const/let instead of var
2016-11-02 09:25:20 +00:00
Matt Hirsch
5c5d74a903
Add joinChannel and toColourspace/toColorspace operations ( #513 )
2016-08-17 15:42:05 +01:00
Lovell Fuller
2a56de69cc
Add Alpine Linux packaging test #354
...
Requires libvips cache to be disabled for tests
Skip tiff/magick tests when format unavailable
2016-02-11 18:30:50 +00:00
Lovell Fuller
11329d5e09
Expose control of the number of open files in libvips' cache.
...
Breaks API of existing cache method.
Disable libvips cache for I/O tests.
2016-02-03 17:48:22 +00:00
Lovell Fuller
58e6368525
Ensure embedded ICC profiles output with perceptual intent #321
2015-12-06 20:24:17 +00:00
Lovell Fuller
5febce7a59
Remove executable bit from test/* file permissions
2015-11-21 23:05:48 +00:00
Lovell Fuller
1e52c2dbe6
Windows compatibility #19
...
Hide WebP format and normalise option
Separate test runners for node and iojs
2015-04-21 12:13:19 +01:00
Lovell Fuller
e465306d97
Disable libvips cache for unit tests
...
Aids memory leak detection
2014-11-11 18:09:48 +00:00
Lovell Fuller
f7c2a839ad
Add support for profile-less CMYK images #99
2014-11-06 11:30:19 +00:00
Lovell Fuller
6cade5bd7f
Increase unit test coverage to ~95%
2014-10-21 12:22:23 +01:00
Lovell Fuller
ca561daedf
Test code refactor #63
...
Use mocha for feature-specific unit tests
Add test coverage report via istanbul
2014-10-20 15:32:56 +01:00