UNPKG
node-tenancy
Version:
beta (1.2.2-beta.0)
latest (1.2.5)
1.2.5
1.2.3
1.2.2
1.2.2-beta.0
1.2.1
1.2.1-beta.3
1.2.1-beta.2
1.2.1-beta.1
1.2.1-beta.0
1.2.0
1.1.2-beta.4
1.1.2-beta.3
1.1.2-beta.2
1.1.2-beta.1
1.1.2-beta.0
1.1.1
1.1.0
1.0.4
1.0.3
1.0.1
1.0.0
Making multi-tenancy easier with Node.js & typescript
github.com/johnabil/tenancy
johnabil/tenancy
node-tenancy
/
tests
/
config.test.js
10 lines
(7 loc)
•
189 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const {
config
} =
require
(
'../index'
) test(
'Config utilities test'
, () => {
config
.setConfig({
'test_value'
:
'test'
, }); expect(
config
.getConfig()?.test_value).toBe(
'test'
); });