summaryrefslogtreecommitdiff
path: root/recipeBuddy/src
diff options
context:
space:
mode:
authorChris Undercoffer <undercofferch18@gmail.com>2019-12-07 16:42:26 -0500
committerChris Undercoffer <undercofferch18@gmail.com>2019-12-07 16:42:26 -0500
commitc3666978e0eef9eeb52d4e383a98d3ef075c37da (patch)
treed2a053bcc057b7c4d40242fdad9eb8540f27836f /recipeBuddy/src
parent5cf3689290666f70cd631d7b3d40a2ed245a3fce (diff)
Add base component for shopping cart
Diffstat (limited to 'recipeBuddy/src')
-rw-r--r--recipeBuddy/src/app/shopping-cart/shopping-cart.component.spec.ts25
-rw-r--r--recipeBuddy/src/app/shopping-cart/shopping-cart.component.ts18
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() {
+ }
+}