89-poster-defaults (#96)

* print defaults in printproducts

* Add default to printproduct mutation

* added insertDefaults when changing productgroup

* fixed bug for square in square

* cleanup, and tests for calculations

* small fixes, added return values for update
This commit is contained in:
Arwid Thornström
2021-12-08 11:00:15 +01:00
committed by GitHub
parent b556bb8df2
commit 6741e82479
9 changed files with 3669 additions and 20 deletions
+2 -1
View File
@@ -7,7 +7,8 @@
"exportSQL": "cd src/__test__/db_generator/ && npm install && node index.js && cd ../../../",
"test": "npm run exportSQL && jest --detectOpenHandles",
"test:dev": "npm run exportSQL && jest --watch",
"unit:dev": "jest --watch src/__test__/unit.test.ts",
"unit": "jest --testPathIgnorePatterns=\"src/__test__/all.test.ts\"",
"unit:dev": "jest --testPathIgnorePatterns=\"src/__test__/all.test.ts\" --watch src/**/*",
"test:manual": "cd manual-tests && ts-node test-scopes.ts"
},
"engines": {