From 407a5a3c6c1d6d4c170d7646f921bb6f2fb2f380 Mon Sep 17 00:00:00 2001 From: jw255 Date: Sat, 3 Mar 2018 16:18:01 +0000 Subject: now compiles. also added stubs for database testing --- .../project-code/src/db/initPostgresDB.ts.html | 110 --------------------- 1 file changed, 110 deletions(-) delete mode 100644 coverage/project-code/src/db/initPostgresDB.ts.html (limited to 'coverage/project-code/src/db/initPostgresDB.ts.html') diff --git a/coverage/project-code/src/db/initPostgresDB.ts.html b/coverage/project-code/src/db/initPostgresDB.ts.html deleted file mode 100644 index 35036ff..0000000 --- a/coverage/project-code/src/db/initPostgresDB.ts.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - Code coverage report for project-code/src/db/initPostgresDB.ts - - - - - - - -
-
-

- All files / project-code/src/db initPostgresDB.ts -

-
-
- 0% - Statements - 0/2 -
-
- 100% - Branches - 0/0 -
-
- 0% - Functions - 0/2 -
-
- 0% - Lines - 0/2 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
import * as Sequelize from 'sequelize';
-const gres: Sequelize.Sequelize = new Sequelize(
-	'postgres://admin:eprprJacR0hBpmWvs5IDJZTnjRAY2gM3tSm0b1af@localhost:5432/be4',
-	{
-		operatorsAliases : false
-	}
-);
- 
-gres.authenticate()
-	.then(() => {
-		// Connection has been established successfully.
-	})
-	.catch((err: Error) => {
-		// Unable to connect to the database.
-	});
- 
-
-
- - - - - - - -- cgit v1.2.1