We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8256f16 commit d027ceaCopy full SHA for d027cea
tests/Unit/ConfigTest.js
@@ -27,7 +27,14 @@ test.group('ConfigTest', group => {
27
await new Folder(Path.config()).remove()
28
})
29
30
- test('should be able to get full configurations values from Config class', ({ assert }) => {
+ test('should be able to get all configurations values from Config class', ({ assert }) => {
31
+ const configs = Config.get()
32
+
33
+ assert.deepEqual(configs.app, { name: 'Athenna', env: 'test' })
34
+ assert.deepEqual(configs.database, { username: 'Athenna' })
35
+ })
36
37
+ test('should be able to get full configurations values of one file from Config class', ({ assert }) => {
38
const app = Config.get('app')
39
40
assert.deepEqual(app, {
0 commit comments