From b45c96683e9df646a058bd00290572913ea9a623 Mon Sep 17 00:00:00 2001 From: Nathan Walker Date: Thu, 23 Jul 2020 20:50:54 -0700 Subject: [PATCH] chore: cleanup --- .../__tests__/{.mocharrc.yml => .mocharc.yml} | 0 packages/core/__tests__/runtime.ts | 2 +- packages/core/__tests__/tsconfig.json | 18 +++++++++--------- 3 files changed, 10 insertions(+), 10 deletions(-) rename packages/core/__tests__/{.mocharrc.yml => .mocharc.yml} (100%) diff --git a/packages/core/__tests__/.mocharrc.yml b/packages/core/__tests__/.mocharc.yml similarity index 100% rename from packages/core/__tests__/.mocharrc.yml rename to packages/core/__tests__/.mocharc.yml diff --git a/packages/core/__tests__/runtime.ts b/packages/core/__tests__/runtime.ts index 0c09af2a4..f28e86c0b 100644 --- a/packages/core/__tests__/runtime.ts +++ b/packages/core/__tests__/runtime.ts @@ -3,7 +3,7 @@ import 'tslib'; import * as moduleAlias from 'module-alias'; import * as path from 'path'; -const tnsCoreModules = path.resolve(__dirname, '../..'); +const tnsCoreModules = path.resolve(__dirname, '..'); moduleAlias.addPath(tnsCoreModules); moduleAlias.addAliases({ diff --git a/packages/core/__tests__/tsconfig.json b/packages/core/__tests__/tsconfig.json index b099dca5a..97e52b876 100644 --- a/packages/core/__tests__/tsconfig.json +++ b/packages/core/__tests__/tsconfig.json @@ -22,10 +22,10 @@ "baseUrl": ".", "paths": { "@nativescript/core": [ - "../../index.ts" + "../index.ts" ], "@nativescript/core/*": [ - "../../*" + "../*" ], } }, @@ -33,12 +33,12 @@ "./**/*.ts" ], "exclude": [ - "../../**/*.android.ts", - "../../**/*.android.d.ts", - "../../**/*.ios.ts", - "../../**/*.ios.d.ts", - "../../node-modules", - "../../references.d.ts", - "../../platforms" + "../**/*.android.ts", + "../**/*.android.d.ts", + "../**/*.ios.ts", + "../**/*.ios.d.ts", + "../node-modules", + "../references.d.ts", + "../platforms" ] } \ No newline at end of file