@toa.io/storages.mongodb 0.4.0-dev.8 → 0.4.0-dev.9

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": "@toa.io/storages.mongodb",
3
- "version": "0.4.0-dev.8",
3
+ "version": "0.4.0-dev.9",
4
4
  "description": "Toa MongoDB Storage Connector",
5
5
  "author": "temich <tema.gurtovoy@gmail.com>",
6
6
  "homepage": "https://github.com/toa-io/toa#readme",
@@ -19,10 +19,10 @@
19
19
  "test": "echo \"Error: run tests from root\" && exit 1"
20
20
  },
21
21
  "dependencies": {
22
- "@toa.io/console": "0.4.0-dev.8",
23
- "@toa.io/core": "0.4.0-dev.8",
24
- "@toa.io/generic": "0.4.0-dev.8",
25
- "@toa.io/pointer": "0.4.0-dev.8",
22
+ "@toa.io/console": "0.4.0-dev.9",
23
+ "@toa.io/core": "0.4.0-dev.9",
24
+ "@toa.io/generic": "0.4.0-dev.9",
25
+ "@toa.io/pointer": "0.4.0-dev.9",
26
26
  "mongodb": "4.13.0"
27
27
  },
28
28
  "gitHead": "2be07592325b2e4dc823e81d882a4e50bf50de24"
@@ -40,11 +40,11 @@ it('should expose collection', () => {
40
40
  })
41
41
 
42
42
  it('should define schema on local environment', () => {
43
- process.env.TOA_ENV = 'local'
43
+ process.env.TOA_DEV = '1'
44
44
 
45
45
  expect(() => (pointer = new Pointer(locator))).not.toThrow()
46
46
 
47
47
  expect(pointer.protocol).toStrictEqual('mongodb:')
48
48
 
49
- delete process.env.TOA_ENV
49
+ delete process.env.TOA_DEV
50
50
  })