683 Commits
Author SHA1 Message Date
Andrey Sitnik c34476d4a0 Fix childless at-rule map generation 2022-12-11 17:33:17 +01:00
Romain Menke f2d1b6941d invalid sourcemap with at layer 2022-12-04 11:21:59 +01:00
Andrey Sitnik 5be696b0b5 Fix type tests 2022-11-21 01:58:28 +01:00
Romain Menke 1d23b60534 fix whitespace bug 2022-11-10 23:42:08 +01:00
Rene Haas fa12b1458d improve test 2022-10-12 09:14:18 +02:00
Rene Haas 6b2709bd03 absolute sourcemaps have source content 2022-10-12 08:59:50 +02:00
Romain Menke 173443ab01 recalculate the insertion index after normalizing a node 2022-09-30 11:06:51 +02:00
romainmenke fc24648ecb add test for sorting container.nodes 2022-09-29 08:54:48 +02:00
Ikko AshimineandGitHub 608cbd521a Fix typo in postcss.test.ts
creat -> create
2022-07-21 00:32:08 +09:00
Vitaly Turovsky eb18e5b72f improve warnings count testing 2022-05-13 17:45:44 +03:00
Vitaly Turovsky cd0a159592 fix tests 2022-05-13 17:39:56 +03:00
Andrey Sitnik ae5642ff1a Clean up code 2022-04-30 02:47:28 +02:00
Jordan Pittman 1d6117c754 Fix append() failing after mutating nodes through .parent 2022-04-29 13:42:14 -04:00
Andrey Sitnik 0663396e36 Clean up code 2022-01-31 23:33:24 +01:00
Andrey Sitnik 02ac5b3770 Throws error on NoWorkResult.root access 2022-01-31 00:43:45 +01:00
Andrey Sitnik e9f1f2805c Fix absolute paths support in map with plugins 2021-11-27 15:47:40 +01:00
Andrey Sitnik d32171cafe Fix Windows CI 2021-11-26 19:42:32 +01:00
Andrey Sitnik 94a06fcf34 Clean up tests 2021-11-26 19:21:39 +01:00
Andrey Sitnik 75c2e2a47c Clean up test 2021-11-26 18:53:16 +01:00
Andrey Sitnik 7d880ef35a Hack to fix source map in NoWorkResult 2021-11-26 16:42:24 +01:00
Andrey Sitnik 7991e0677b Clean up tests 2021-11-26 14:31:34 +01:00
Andrey Sitnik bb0de6e4e2 Fix NoWorkResult tests 2021-11-26 13:58:16 +01:00
Adaline Valentina Simonian 0ec232aa5c test: add missing test.run() 2021-11-21 11:24:36 -08:00
Adaline Valentina Simonian 4e46d40731 Merge branch 'main' into fix-ranges 2021-11-21 11:13:39 -08:00
Adaline Valentina Simonian ba57fdd2ae fix: handle case when node end is undefined 2021-11-19 12:10:34 -08:00
Adaline Valentina Simonian f1fa07d292 refactor: make suggested changes 2021-11-18 16:56:31 -08:00
Andrey Kim afe45db6e8 Merge branch 'main' of https://github.com/postcss/postcss into main 2021-11-17 23:55:23 +03:00
Andrey SitnikandGitHub 239ac8d70f Merge pull request #1659 from bogdan0083/implement-nowork
Do not parse CSS on missed plugins or parser/stringifier option
2021-11-17 11:20:13 +01:00
Bogdan Dolin 86836e128c Rework GenerateSimpleMap clean annotation regex 2021-11-17 07:10:11 +03:00
Adaline Valentina Simonian 45097948ff feat: Support ranges for errors and warnings
Allows for better diagnostics in linters, language servers, and plugins.
2021-11-16 17:15:01 -08:00
Bogdan Dolin a90227a908 Rework test to call root twice and expect no errors 2021-11-16 16:30:43 +03:00
Andrey Kim ff00707c1f remove browser.test.ts 2021-11-15 14:15:02 +03:00
Andrey Kim cd9ec4f200 Move from Jest to uvu 2021-11-15 11:25:34 +03:00
Bogdan Dolin 207e5c9b2a add expect for 100% coverage 2021-11-08 13:49:20 +07:00
Bogdan Dolin 3e4c0b322b add test to check how annotations are cleared with multiple comments 2021-11-07 12:20:29 +07:00
Bogdan Dolin 39968b4c29 rewrite catch error test 2021-11-07 12:02:39 +07:00
bogdan0083 b8df58d676 Merge remote-tracking branch 'upstream/main' into implement-nowork 2021-11-06 11:47:58 +07:00
5fb9c4cc32 Update test/processor.test.ts
Co-authored-by: Andrey Sitnik <[email protected]>
2021-11-06 10:22:08 +07:00
bogdan0083 66c2a84b25 Fix tests 2021-11-05 11:32:12 +07:00
bogdan0083 f8b471807a Add tests 2021-11-05 11:14:36 +07:00
bogdan0083 c6f7819cc9 [NoWork -> noWorkResult] and change implementation 2021-11-05 11:14:01 +07:00
bogdan0083 12b239c60f Add generateSimpleMap method to map-generator 2021-11-05 11:07:49 +07:00
CGQAQ c6e855be72 fix a typo in test 2021-11-01 15:07:03 +08:00
bogdan0083 7b93a00aa0 Add more tests 2021-10-29 16:59:46 +07:00
WilhelmYakunin 9055df53c6 add no-work in case of no options made 2021-10-27 23:34:47 +03:00
Andrey Sitnik 6176e9ec7a Update dependencies 2021-10-20 17:11:51 +02:00
Andrey Sitnik 1ce2beb777 Replace nanocolors with picocolors 2021-10-04 22:00:11 +02:00
Andrey Sitnik f2c0d903c5 Fix tests 2021-09-22 08:07:38 +02:00
Andrey Sitnik 735880a8d8 Fix types 2021-09-22 08:02:22 +02:00
Andrey Sitnik d02348764c Replace colorette to nanocolors 2021-09-21 13:13:19 +02:00