Merge pull request #79 from hashicorp/ICU-8215-create-session-recording-route

chore: 🤖 added session-recordings route
This commit is contained in:
Devon Anderson authored and GitHub committed 2023-02-28 11:23:12 -05:00
commit e26c0aa264
8 files changed
+39

No files matched your search

@@ -208,6 +208,9 @@ org:
new: New Org
actions:
delete: Delete Org
session-recording:
title: Session Recording
title_plural: Session Recordings
project:
title: Project
title_plural: Projects
+1
View File
@@ -132,6 +132,7 @@ Router.map(function () {
this.route('new');
this.route('worker', { path: ':worker_id' }, function () {});
});
this.route('session-recordings', function () {});
});
});
@@ -0,0 +1,3 @@
import Route from '@ember/routing/route';
export default class ScopesScopeSessionRecordingsRoute extends Route {}
@@ -0,0 +1,3 @@
import Route from '@ember/routing/route';
export default class ScopesScopeSessionRecordingsIndexRoute extends Route {}
@@ -0,0 +1,2 @@
{{page-title (t 'resources.session-recording.title_plural')}}
{{outlet}}
Whitespace-only changes.
@@ -0,0 +1,11 @@
import { module, test } from 'qunit';
import { setupTest } from 'admin/tests/helpers';
module('Unit | Route | scopes/scope/session-recordings', function (hooks) {
setupTest(hooks);
test('it exists', function (assert) {
let route = this.owner.lookup('route:scopes/scope/session-recordings');
assert.ok(route);
});
});
@@ -0,0 +1,16 @@
import { module, test } from 'qunit';
import { setupTest } from 'admin/tests/helpers';
module(
'Unit | Route | scopes/scope/session-recordings/index',
function (hooks) {
setupTest(hooks);
test('it exists', function (assert) {
let route = this.owner.lookup(
'route:scopes/scope/session-recordings/index'
);
assert.ok(route);
});
}
);