Skip to content

Commit

Permalink
created chat service
Browse files Browse the repository at this point in the history
  • Loading branch information
doljko committed Apr 2, 2024
1 parent f01867c commit 464ecca
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addon/services/chat.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import Service from '@ember/service';

export default class ChatService extends Service {}
1 change: 1 addition & 0 deletions app/services/chat.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '@fleetbase/ember-core/services/chat';
12 changes: 12 additions & 0 deletions tests/unit/services/chat-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { module, test } from 'qunit';
import { setupTest } from 'dummy/tests/helpers';

module('Unit | Service | chat', function (hooks) {
setupTest(hooks);

// TODO: Replace this with your real tests.
test('it exists', function (assert) {
let service = this.owner.lookup('service:chat');
assert.ok(service);
});
});

0 comments on commit 464ecca

Please sign in to comment.