mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 22:26:46 +02:00
feat(tests): update and improve tests
This commit is contained in:
@@ -13,4 +13,12 @@ test('test flextype() helper', function () {
|
||||
|
||||
test('test app() helper', function () {
|
||||
$this->assertSame(app(), Flextype::getInstance()->app());
|
||||
});
|
||||
|
||||
test('test container() helper', function () {
|
||||
$this->assertSame(container(), Flextype::getInstance()->container());
|
||||
});
|
||||
|
||||
test('test emitter() helper', function () {
|
||||
$this->assertSame(emitter(), Flextype::getInstance()->container()->get('emitter'));
|
||||
});
|
Reference in New Issue
Block a user