@things-factory/shell 9.1.13 → 9.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/shell",
3
- "version": "9.1.13",
3
+ "version": "9.2.5",
4
4
  "description": "Core module for framework",
5
5
  "bin": {
6
6
  "things-factory": "bin/things-factory",
@@ -131,5 +131,5 @@
131
131
  "pg": "^8.7.3",
132
132
  "sqlite3": "^5.0.8"
133
133
  },
134
- "gitHead": "a65dd907befaf3a422aa0250d6096b86d151d46e"
134
+ "gitHead": "d3622f475ae3bab84322d31b064cc4cda20f7062"
135
135
  }
package/static/index.js CHANGED
@@ -1,5 +1 @@
1
- if ('serviceWorker' in navigator) {
2
- navigator.serviceWorker.register('/service-worker.js', {
3
- scope: '/'
4
- })
5
- }
1
+ /* Service Worker registration moved to the webpack bundle (client/index.js) for environment-aware control. */
@@ -1,26 +0,0 @@
1
- import { databaseInitializer } from '../../server/initializers/database'
2
-
3
- describe('orm', () => {
4
- var connection
5
-
6
- beforeAll(async () => {
7
- connection = await databaseInitializer()
8
- })
9
-
10
- afterAll(async () => {
11
- await connection.close()
12
- })
13
-
14
- beforeEach(async () => {
15
- const entities = connection.entityMetadatas
16
-
17
- entities.forEach(async entity => {
18
- const repository = connection.getRepository(entity.name)
19
- await repository.query(`DELETE FROM ${entity.tableName}`)
20
- })
21
- })
22
-
23
- it('creates a user', () => {
24
- // TODO
25
- })
26
- })