Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/add test file with invalid type (#5091)

Thomas Kaul9f4413b05094
diff --git a/test/import/not-ok/invalid-type.json b/test/import/not-ok/invalid-type.json
new file mode 100644
index 0000000000..a23f72411e
--- /dev/null
+++ b/test/import/not-ok/invalid-type.json
@@ -0,0 +1,18 @@
+{
+ "meta": {
+ "date": "2021-01-01T00:00:00.000Z",
+ "version": "dev"
+ },
+ "activities": [
+ {
+ "currency": "USD",
+ "dataSource": "YAHOO",
+ "date": "2021-01-01T00:00:00.000Z",
+ "fee": 0,
+ "quantity": 20,
+ "symbol": "AAPL",
+ "type": "<invalid>",
+ "unitPrice": 100.0
+ }
+ ]
+}