From d6e69c1293ad1b2c48914a342150c409f7b4292e Mon Sep 17 00:00:00 2001 From: Kris Penney Date: Wed, 27 Jun 2018 21:50:33 -0400 Subject: [PATCH] Delete hello world Missed one --- e2e/hello_world.e2e.js | 13 ------------- src/hello_world/hello_world.js | 7 ------- src/hello_world/hello_world.spec.js | 26 -------------------------- 3 files changed, 46 deletions(-) delete mode 100644 e2e/hello_world.e2e.js delete mode 100644 src/hello_world/hello_world.js delete mode 100644 src/hello_world/hello_world.spec.js diff --git a/e2e/hello_world.e2e.js b/e2e/hello_world.e2e.js deleted file mode 100644 index 67c8aa09..00000000 --- a/e2e/hello_world.e2e.js +++ /dev/null @@ -1,13 +0,0 @@ -import { expect } from "chai"; -import testUtils from "./utils"; - -describe("application launch", () => { - beforeEach(testUtils.beforeEach); - afterEach(testUtils.afterEach); - - // it("shows hello world text on screen after launch", function() { - // return this.app.client.getText("#greet").then(text => { - // expect(text).to.equal("Hello World!"); - // }); - // }); -}); diff --git a/src/hello_world/hello_world.js b/src/hello_world/hello_world.js deleted file mode 100644 index 68eb5e0c..00000000 --- a/src/hello_world/hello_world.js +++ /dev/null @@ -1,7 +0,0 @@ -export const greet = () => { - return "Hello World!"; -}; - -export const bye = () => { - return "See ya!"; -}; diff --git a/src/hello_world/hello_world.spec.js b/src/hello_world/hello_world.spec.js deleted file mode 100644 index f48c673b..00000000 --- a/src/hello_world/hello_world.spec.js +++ /dev/null @@ -1,26 +0,0 @@ -import { expect } from "chai"; -import { greet, bye } from "./hello_world"; -import env from "env"; - -describe("hello world", () => { - it("greets", () => { - expect(greet()).to.equal("Hello World!"); - }); - - it("says goodbye", () => { - expect(bye()).to.equal("See ya!"); - }); - - it("should load test environment variables", () => { - expect(env.name).to.equal("test"); - expect(env.description).to.equal( - "Add here any environment specific stuff you like." - ); - }); - - it("babel features should work", () => { - const a = { a: 1 }; - const b = { ...a, b: 2 }; - expect(b).to.eql({ a: 1, b: 2 }); - }); -});