Skip to content

Commit c04b444

Browse files
authored
Merge pull request #13 from fabrix-app/v1.1
[chore] release 1.1.4, document bug
2 parents 845d4c4 + a08d61b commit c04b444

File tree

5 files changed

+36
-18
lines changed

5 files changed

+36
-18
lines changed

lib/Templates.ts

+16-16
Original file line numberDiff line numberDiff line change
@@ -58,22 +58,22 @@ export const Templates = {
5858
sane: `Sanity checks keep us happy`,
5959
// tslint:disable:max-line-length
6060
initialized: `
61-
62-
███████ ██
63-
█████ █ ████ ████
64-
████ █████ ██
65-
██████ ████ ████ ████ ███ █████ ███ ████ ████ ████
66-
████ █████ ████ ████ ████ ███████████████ █████ ██
67-
█████ ████ ████ ████ ███ ████ █ ████ ████ ██
68-
████ █████ █████ ████ ███ ████ ████ ██████
69-
█████ ████ ████ █████ ███ ████ ████ ████
70-
████ ████ █████ ████ ████ █████ ████ ██████
71-
████ ████████████████████████ ████ ████████ ██████
72-
████ ███ ███ ████ █████ ████ ███
73-
██ ████
74-
██ ████
75-
██████
76-
61+
62+
███████ ██
63+
█████ █ ████ ████
64+
████ █████ ██
65+
██████ ████ ████ ████ ███ █████ ███ ████ ████ ████
66+
████ █████ ████ ████ ████ ███████████████ █████ ██
67+
█████ ████ ████ ████ ███ ████ █ ████ ████ ██
68+
████ █████ █████ ████ ███ ████ ████ ██████
69+
█████ ████ ████ █████ ███ ████ ████ ████
70+
████ ████ █████ ████ ████ █████ ████ ██████
71+
████ ████████████████████████ ████ ████████ ██████
72+
████ ███ ███ ████ █████ ████ ███
73+
██ ████
74+
██ ████
75+
██████
76+
7777
`
7878
}
7979
}

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fabrix/fabrix",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
44
"description": "Strongly Typed Modern Web Application Framework for Node.js",
55
"keywords": [
66
"framework",

test/integration/fabrixapp.test.js

+14
Original file line numberDiff line numberDiff line change
@@ -548,5 +548,19 @@ describe('Fabrix', () => {
548548
return eventPromise
549549
})
550550
})
551+
552+
describe('#sanity', () => {
553+
let app
554+
before(() => {
555+
app = new FabrixApp(testAppDefinition)
556+
})
557+
558+
// https://github.com/fabrix-app/fabrix/issues/11
559+
it.skip('should log itself without failing', (done) => {
560+
app.log.info(app)
561+
console.log(app)
562+
done()
563+
})
564+
})
551565
})
552566
})

test/lib/LoggerProxy.test.js

+4
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,9 @@ describe('lib.LoggerProxy', () => {
6565
})
6666
logger('info', 'hello', '123')
6767
})
68+
it('should be able to log itself without error' , done => {
69+
emitter.once('fabrix:log', () => done())
70+
logger.info(logger)
71+
})
6872
})
6973

0 commit comments

Comments
 (0)