From dfd2c763a8c1e82b5176653b5c743b48f06bb2eb Mon Sep 17 00:00:00 2001 From: Kononnable Date: Sun, 17 Jun 2018 02:35:10 +0200 Subject: [PATCH] polishing imports --- test/drivers/MssqlDriver.test.ts | 8 ++++---- test/integration/entityTypes.test.ts | 2 +- test/integration/githubIssues.test.ts | 2 +- test/integration/integration.test.ts | 2 +- test/utils/GeneralTestUtils.ts | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/test/drivers/MssqlDriver.test.ts b/test/drivers/MssqlDriver.test.ts index 898faa6..4797886 100644 --- a/test/drivers/MssqlDriver.test.ts +++ b/test/drivers/MssqlDriver.test.ts @@ -1,10 +1,10 @@ import { expect } from "chai"; -import { MssqlDriver } from './../../src/drivers/MssqlDriver' +import { MssqlDriver } from '../../src/drivers/MssqlDriver' import * as Sinon from 'sinon' import * as MSSQL from 'mssql' -import { EntityInfo } from './../../src/models/EntityInfo' -import { ColumnInfo } from './../../src/models/ColumnInfo' -import { RelationInfo } from './../../src/models/RelationInfo' +import { EntityInfo } from '../../src/models/EntityInfo' +import { ColumnInfo } from '../../src/models/ColumnInfo' +import { RelationInfo } from '../../src/models/RelationInfo' import { Table, IColumnMetadata } from "mssql"; import { DefaultNamingStrategy } from "../../src/DefaultNamingStrategy"; diff --git a/test/integration/entityTypes.test.ts b/test/integration/entityTypes.test.ts index a4ffab0..10e570f 100644 --- a/test/integration/entityTypes.test.ts +++ b/test/integration/entityTypes.test.ts @@ -8,7 +8,7 @@ var chai = require('chai'); var chaiSubset = require('chai-subset'); import * as ts from "typescript"; import * as GTU from "../utils/GeneralTestUtils" -import { Engine } from "./../../src/Engine"; +import { Engine } from "../../src/Engine"; chai.use(chaiSubset); diff --git a/test/integration/githubIssues.test.ts b/test/integration/githubIssues.test.ts index 02edcc0..7a9a4c8 100644 --- a/test/integration/githubIssues.test.ts +++ b/test/integration/githubIssues.test.ts @@ -3,7 +3,7 @@ import "reflect-metadata"; import { createConnection, ConnectionOptions, Connection } from "typeorm"; import fs = require('fs-extra'); import path = require('path') -import { Engine } from "./../../src/Engine"; +import { Engine } from "../../src/Engine"; import { expect } from "chai"; import * as Sinon from 'sinon' import { EntityFileToJson } from "../utils/EntityFileToJson"; diff --git a/test/integration/integration.test.ts b/test/integration/integration.test.ts index 1900d8e..d75bb1a 100644 --- a/test/integration/integration.test.ts +++ b/test/integration/integration.test.ts @@ -2,7 +2,7 @@ require('dotenv').config() import "reflect-metadata"; import fs = require('fs-extra'); import path = require('path') -import { Engine } from "./../../src/Engine"; +import { Engine } from "../../src/Engine"; import { expect } from "chai"; import { EntityFileToJson } from "../utils/EntityFileToJson"; var chai = require('chai'); diff --git a/test/utils/GeneralTestUtils.ts b/test/utils/GeneralTestUtils.ts index 137bc50..7c68ccf 100644 --- a/test/utils/GeneralTestUtils.ts +++ b/test/utils/GeneralTestUtils.ts @@ -1,7 +1,7 @@ import * as ts from "typescript"; import { AbstractDriver } from "../../src/drivers/AbstractDriver"; import { MssqlDriver } from "../../src/drivers/MssqlDriver"; -import { PostgresDriver } from "./../../src/drivers/PostgresDriver"; +import { PostgresDriver } from "../../src/drivers/PostgresDriver"; import { MysqlDriver } from "../../src/drivers/MysqlDriver"; import { MariaDbDriver } from "../../src/drivers/MariaDbDriver"; import { OracleDriver } from "../../src/drivers/OracleDriver";