From e639c8c4c28311d59fbfdfff0dba71e721ac368c Mon Sep 17 00:00:00 2001 From: Mark Whitfeld Date: Thu, 2 Dec 2021 15:43:30 +0200 Subject: [PATCH] test: expose internal testing tool for integration apps --- packages/store/internals/testing/index.ts | 3 --- packages/store/internals/testing/package.json | 9 +++++++++ packages/store/internals/testing/src/index.ts | 3 +++ 3 files changed, 12 insertions(+), 3 deletions(-) delete mode 100644 packages/store/internals/testing/index.ts create mode 100644 packages/store/internals/testing/package.json create mode 100644 packages/store/internals/testing/src/index.ts diff --git a/packages/store/internals/testing/index.ts b/packages/store/internals/testing/index.ts deleted file mode 100644 index ec4b860b6..000000000 --- a/packages/store/internals/testing/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export { NgxsTestBed } from './src/ngxs.setup'; -export { NgxsTesting } from './src/symbol'; -export { freshPlatform } from './src/fresh-platform'; diff --git a/packages/store/internals/testing/package.json b/packages/store/internals/testing/package.json new file mode 100644 index 000000000..d1f0a4a9d --- /dev/null +++ b/packages/store/internals/testing/package.json @@ -0,0 +1,9 @@ +{ + "ngPackage": { + "$schema": "../../../../node_modules/ng-packagr/ng-package.schema.json", + "lib": { + "entryFile": "src/index.ts", + "flatModuleFile": "ngxs-store-internals-testing" + } + } +} diff --git a/packages/store/internals/testing/src/index.ts b/packages/store/internals/testing/src/index.ts new file mode 100644 index 000000000..5a559b1dc --- /dev/null +++ b/packages/store/internals/testing/src/index.ts @@ -0,0 +1,3 @@ +export { NgxsTestBed } from './ngxs.setup'; +export { NgxsTesting } from './symbol'; +export { freshPlatform } from './fresh-platform';