From 0fd3bd262b3d282b4bedc6dc11836fcfb16fb84a Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Wed, 22 Jun 2016 13:55:38 +0200 Subject: [PATCH] start implementation of sslDir and gitOrigin --- .gitignore | 3 ++- test/test.ts | 2 +- ts/index.ts | 10 +++++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index fea0d45..edd60d0 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ node_modules docs/ coverage/ .nogit/ -dist/assets/ \ No newline at end of file +dist/assets/ +test/assets/ \ No newline at end of file diff --git a/test/test.ts b/test/test.ts index 97bc91b..a15eb62 100644 --- a/test/test.ts +++ b/test/test.ts @@ -20,7 +20,7 @@ describe("cert",function(){ }) }) describe("Cert",function(){ - it("should create a new cert",function(){ + it("should create a new Cert object from class",function(){ testCert = new cert.Cert({ cfEmail: process.env.CF_EMAIL, cfKey: process.env.CF_KEY, diff --git a/ts/index.ts b/ts/index.ts index d75b021..9c39866 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -34,11 +34,19 @@ export class Cert { }; } -export class Certificate { +class Certificate { domainName:string; creationDate:Date; expiryDate:Date; constructor(){ }; +} + +let updateSslDir = () => { + +} + +let updateGitOrigin = () => { + } \ No newline at end of file