From f66a9fa7f132f41b2e40029f0fb535521c3fb716 Mon Sep 17 00:00:00 2001 From: jw255 Date: Sat, 24 Feb 2018 17:13:43 +0000 Subject: restructuring of tests + yarn install script --- .../project-code/src/db/initPostgresDB.ts.html | 110 +++++++++++++++++++++ 1 file changed, 110 insertions(+) create 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 new file mode 100644 index 0000000..35036ff --- /dev/null +++ b/coverage/project-code/src/db/initPostgresDB.ts.html @@ -0,0 +1,110 @@ + + + + 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