Modular logistics and supply chain operating system (LSOS)
JavaScript driver-appfleet-managementfreight-managementinfrastructureinventory-managementlast-mile-deliverylogisticsondemandopen-sourceorder-managementroute-optimizationsupply-chain-managementtracking-and-monitoringtransport-management-systemtransportationwarehouse-management
updated router.map and added tests
TemuulenBM3ac3ad97f3e7
diff --git a/console/router.map.js b/console/router.map.jsindex 559b6b25..26dd8ddd 100644--- a/console/router.map.js+++ b/console/router.map.js@@ -11,6 +11,7 @@ Router.map(function () {this.route('login', { path: '/' });this.route('forgot-password');this.route('reset-password');+ this.route('two-fa');});this.route('onboard', function () {this.route('verify-email');diff --git a/console/tests/integration/components/configure/2fa-test.js b/console/tests/integration/components/configure/2fa-test.jsnew file mode 100644index 00000000..02844a75--- /dev/null+++ b/console/tests/integration/components/configure/2fa-test.js@@ -0,0 +1,26 @@+import { module, test } from 'qunit';+import { setupRenderingTest } from '@fleetbase/console/tests/helpers';+import { render } from '@ember/test-helpers';+import { hbs } from 'ember-cli-htmlbars';++module('Integration | Component | configure/2fa', function (hooks) {+ setupRenderingTest(hooks);++ test('it renders', async function (assert) {+ // Set any properties with this.set('myProperty', 'value');+ // Handle any actions with this.set('myAction', function(val) { ... });++ await render(hbs`<Configure::2fa />`);++ assert.dom(this.element).hasText('');++ // Template block usage:+ await render(hbs`+ <Configure::2fa>+ template block text+ </Configure::2fa>+ `);++ assert.dom(this.element).hasText('template block text');+ });+});