File tree Expand file tree Collapse file tree
frontend/src/pages/ProjectDetailPage/ProjectViewContainer/BOM Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,8 +40,7 @@ describe('Material Tests', () => {
4040 manufacturer . name ,
4141 'lalsd' ,
4242 new Decimal ( 5 ) ,
43- 10 ,
44- 50
43+ 10
4544 ) ;
4645
4746 expect ( material . name ) . toEqual ( '100k Resistor' ) ;
@@ -99,7 +98,6 @@ describe('Material Tests', () => {
9998 'CAP-100UF' ,
10099 new Decimal ( 10 ) ,
101100 50 ,
102- 500 ,
103101 'Test notes'
104102 ) ;
105103
@@ -114,8 +112,7 @@ describe('Material Tests', () => {
114112 manufacturer . name ,
115113 'CAP-220UF' ,
116114 new Decimal ( 5 ) ,
117- 75 ,
118- 375
115+ 75
119116 ) ;
120117
121118 const newMaterialIds = await BillOfMaterials . copyMaterialsToProject (
@@ -185,8 +182,7 @@ describe('Material Tests', () => {
185182 manufacturer . name ,
186183 'lalsd' ,
187184 new Decimal ( 5 ) ,
188- 10 ,
189- 50
185+ 10
190186 ) ;
191187
192188 const newMaterial = await BillOfMaterials . editMaterial (
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ const BOMTableWrapper: React.FC<BOMTableWrapperProps> = ({
184184 manufacturerName : newRow . manufacturer || undefined ,
185185 manufacturerPartNumber : newRow . manufacturerPN || undefined ,
186186 pdmFileName : newRow . pdmFileName ,
187- price : priceInCents ,
187+ price : priceInCents ,
188188 quantity : quantityValue ,
189189 unitName : material . unitName ,
190190 linkUrl : material . linkUrl ,
You can’t perform that action at this time.
0 commit comments