Commit Graph

47 Commits

Author SHA1 Message Date
Alexander Cerutti
65d3180d4b Added method with tests getAsRaw 2021-10-14 17:59:41 +02:00
Alexander Cerutti
55828591ca Refactored Bundle tests to be better contextualized 2021-10-14 17:47:00 +02:00
Alexander Cerutti
b584269bc0 Added tests for PKPass.pack 2021-10-13 23:14:14 +02:00
Alexander Cerutti
62d54ab4d8 Added tests for PKPass.from 2021-10-13 22:49:49 +02:00
Alexander Cerutti
5c4c371c3b Added tests for utils 2021-10-13 20:54:16 +02:00
Alexander Cerutti
a9f5f22389 Added tests for closePassSymbol method 2021-10-13 01:08:20 +02:00
Alexander Cerutti
3de32787da Added tests for importMetadataSymbol method 2021-10-12 23:15:03 +02:00
Alexander Cerutti
57c6021dca Added tests for type getter and setter 2021-10-12 22:44:20 +02:00
Alexander Cerutti
22593ad737 Added tests for fields getters 2021-10-12 21:51:38 +02:00
Alexander Cerutti
3f6cc6c803 Renamed setNFCCapability to setNFC 2021-10-11 23:45:20 +02:00
Alexander Cerutti
6f3a7d2f6e Added tests for addBuffer and improved handling of empty strings files 2021-10-11 23:43:03 +02:00
Alexander Cerutti
e69f302cf9 Improved tests and added certificates setter tests 2021-10-11 23:23:25 +02:00
Alexander Cerutti
928081ecfc Fixed tests, added tests, fixed ducked up things 2021-10-11 23:04:09 +02:00
Alexander Cerutti
e8a40c4554 Deleted factory.ts file 2021-09-27 23:48:25 +02:00
Alexander Cerutti
aaea9c1304 Revert "Added Bundle.prototype.files getter to prevent exposing filesSymbol"
This reverts commit 6f7a597cbe.
2021-09-26 23:32:21 +02:00
Alexander Cerutti
6f7a597cbe Added Bundle.prototype.files getter to prevent exposing filesSymbol 2021-09-26 18:21:25 +02:00
Alexander Cerutti
344c33c54c Added localize implementation along with its tests 2021-09-25 21:41:06 +02:00
Alexander Cerutti
9d76856d67 Added implementation of transitType along with tests to be modified yet and tested when we'll have a good content saving 2021-09-21 22:28:57 +02:00
Alexander Cerutti
c49aad4098 Added setBarcodes implementation along with tests 2021-09-21 21:34:28 +02:00
Alexander Cerutti
d3eb66b2c8 Added setRelevantDate implementation along tests and added and fixed tests of setExpirationDate 2021-09-21 20:26:03 +02:00
Alexander Cerutti
208faee460 Added setExpirationDate implementation along with tests 2021-09-21 00:02:03 +02:00
Alexander Cerutti
389aa96532 Added setNFCCapability implementation along with tests 2021-09-19 22:45:37 +02:00
Alexander Cerutti
59efe84bc8 Added implementation of setLocations along with tests 2021-09-19 20:09:32 +02:00
Alexander Cerutti
8a814e46f0 Added implementation for setBeacons along with some tests 2021-09-19 19:52:08 +02:00
Alexander Cerutti
abc6695940 Added Bundle class implementation along with tests 2021-09-18 18:32:14 +02:00
Alexander Cerutti
d35cb627e5 Refactored Errors Messages to be references instead of looked up 2021-06-21 21:56:04 +02:00
Alexander Cerutti
eb36db44bb Fixed schemas import in tests 2021-06-17 23:36:46 +02:00
Alexander Cerutti
3e08d31d14 Removed moment for internal implementation 2021-02-09 14:16:19 +01:00
Alexander Cerutti
d5a487a609 Added prettier to project 2021-02-08 00:03:28 +01:00
Alexander Cerutti
1cde704c1b Removed repeated code in createPass and added few tests and moved few tests from index.ts to new factory test file 2021-02-07 22:35:02 +01:00
Alexander Cerutti
1e64046069 Changed jasmine settings and added tsconfig for specs 2021-02-07 20:26:32 +01:00
Alexander Cerutti
960331d737 Changed splitBufferBundle to use Object.entries and added tests for it 2021-02-07 17:23:33 +01:00
Alexander Cerutti
b51b7591bf Indent me 2021-02-05 08:13:22 +01:00
Alexander Cerutti
2e77f06950 Improved tests 2021-02-05 07:32:11 +01:00
Alexander Cerutti
9e90b4963b Updated dependencies and tests (forgotten awaits) 2020-09-05 23:56:05 +02:00
Alexander Cerutti
fee3383ffa Added model validation tests 2020-09-05 23:38:02 +02:00
Alexander Cerutti
f72f2a08b0 Specs changes 2019-12-14 17:16:19 +01:00
Alexander Cerutti
8b6f1ba948 Cleanup 2019-07-01 23:50:49 +02:00
Alexander Cerutti
25aa60ba99 Updated tests and barcode example to latest changes 2019-07-01 23:50:48 +02:00
Alexander Cerutti
a981571c42 Fixed beacons and locations content getting 2019-07-01 23:50:45 +02:00
Alexander Cerutti
53441a9b2f Updated examples and tests 2019-07-01 23:50:44 +02:00
Alexander Cerutti
0e2f61cfef Changed tests to reflect new relevancy methods 2019-06-18 00:02:06 +02:00
Alexander Cerutti
f9206bafac Moved tests to typescript 2019-06-12 23:42:23 +02:00
Alexander Cerutti
48e8f4ef84 Removed older version of index.js for tests and project 2019-06-10 21:00:38 +02:00
Ian Bale
bc941640fc Adding support for native Dates (#32) by Ianbale 2019-06-07 13:06:16 +02:00
Alexander Cerutti
1a8e5a83ca Removed timezone from tests on DateTimes to avoid problems with winter/summer time changing 2019-03-31 03:24:57 +02:00
Alexander Cerutti
2c97274acd Moved tests to spec folder with jasmine configuration 2019-03-30 21:47:26 +01:00