17 Commits

Author SHA1 Message Date
Nick Playfair
99793599dd Remove most dependency on fs-extra 2025-06-14 22:14:45 +01:00
Nick Playfair
d0544aa518 Properly test extraction methods 2025-06-14 21:12:42 +01:00
Nick Playfair
809f1204b6 Refactored tests 2025-06-13 22:02:55 +01:00
Nick Playfair
30d873048b start refactoring tests 2025-06-13 21:12:39 +01:00
7dd6e99ef5 pass layer names to getLayers
Update the getLayers method to take in an array of the layer filenames you expect to be in the gerber archive. This will allow the package to be used with gerbers that output different filenames for each layer then EAGLE.
2021-02-07 20:03:37 +00:00
0331a47dea Test constructor 2021-02-06 17:06:55 +00:00
f75282566c test for incomplete gerber archive 2021-02-05 14:49:32 +00:00
b2723f3b70 Test for gerberToStream
Define a test for the gerberToStream method
2021-02-05 14:30:59 +00:00
6d67e5e9ef Remove unneccessary test var 2021-02-03 16:44:30 +00:00
162a38340c Reformat tests 2021-02-02 19:57:22 +00:00
3600559d6c Update tests to use class 2021-02-02 19:49:58 +00:00
6cbbef212d Test number of assertions 2021-02-02 17:19:43 +00:00
71e7237f13 Tests for gerberToImage
Test for valid folders and return for valid archive
2021-02-02 16:45:57 +00:00
e6718a85e1 Update tests for extractArchive 2021-02-02 13:12:52 +00:00
702245e0bd Test extractArchive 2021-02-01 23:03:34 +00:00
e7e2f02581 Test getLayers 2021-02-01 23:03:00 +00:00
0548ae993c getLayers tests 2021-02-01 20:04:56 +00:00