diff options
author | Chris Undercoffer <undercofferch18@gmail.com> | 2019-12-07 16:42:26 -0500 |
---|---|---|
committer | Chris Undercoffer <undercofferch18@gmail.com> | 2019-12-07 16:42:26 -0500 |
commit | c3666978e0eef9eeb52d4e383a98d3ef075c37da (patch) | |
tree | d2a053bcc057b7c4d40242fdad9eb8540f27836f /recipeBuddy/src/app/shopping-cart | |
parent | 5cf3689290666f70cd631d7b3d40a2ed245a3fce (diff) |
Add base component for shopping cart
Diffstat (limited to 'recipeBuddy/src/app/shopping-cart')
-rw-r--r-- | recipeBuddy/src/app/shopping-cart/shopping-cart.component.spec.ts | 25 | ||||
-rw-r--r-- | recipeBuddy/src/app/shopping-cart/shopping-cart.component.ts | 18 |
2 files changed, 43 insertions, 0 deletions
diff --git a/recipeBuddy/src/app/shopping-cart/shopping-cart.component.spec.ts b/recipeBuddy/src/app/shopping-cart/shopping-cart.component.spec.ts new file mode 100644 index 0000000..5d77354 --- /dev/null +++ b/recipeBuddy/src/app/shopping-cart/shopping-cart.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ShoppingCartComponent } from './shopping-cart.component'; + +describe('ShoppingCartComponent', () => { + let component: ShoppingCartComponent; + let fixture: ComponentFixture<ShoppingCartComponent>; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ ShoppingCartComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(ShoppingCartComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/recipeBuddy/src/app/shopping-cart/shopping-cart.component.ts b/recipeBuddy/src/app/shopping-cart/shopping-cart.component.ts new file mode 100644 index 0000000..4430081 --- /dev/null +++ b/recipeBuddy/src/app/shopping-cart/shopping-cart.component.ts @@ -0,0 +1,18 @@ +import { Component, OnInit } from '@angular/core'; + + + + + +@Component({ + selector: 'shopping-cart.component', + templateUrl: './shopping-cart.component.html', + styleUrls: ['./shopping-cart.component.css'] +}) +export class ShoppingCartComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } +} |