-
Total count of Suggestions(Prompts)
+
Total count of Suggestions (Prompts)
Over the last 28 days
diff --git a/tests/metrics.spec.ts b/tests/metrics.spec.ts
index 2cd587d..53a1e3d 100644
--- a/tests/metrics.spec.ts
+++ b/tests/metrics.spec.ts
@@ -6,7 +6,7 @@ test('metrics visible', tag, async ({ page }) => {
await page.goto('/');
await expect(page.getByText('Acceptance Rate (by count)')).toBeVisible();
- await expect(page.getByText('Total count of Suggestions(Prompts)')).toBeVisible();
+ await expect(page.getByText('Total count of Suggestions (Prompts)')).toBeVisible();
await expect(page.getByRole('heading', { name: 'Total Lines Suggested | Total' })).toBeVisible();
});
@@ -20,7 +20,7 @@ test('data returned', tag, async ({ page }) => {
expect(parseInt(linesAccepted as string)).toBeGreaterThan(0);
await expect(page.getByText('Acceptance Rate (by count)')).toBeVisible();
- await expect(page.getByText('Total count of Suggestions(Prompts)')).toBeVisible();
+ await expect(page.getByText('Total count of Suggestions (Prompts)')).toBeVisible();
await expect(page.getByRole('heading', { name: 'Total Lines Suggested | Total' })).toBeVisible();
});
diff --git a/vue.config.js b/vue.config.js
index cff0e67..a4ead68 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,4 +1,8 @@
const { defineConfig } = require('@vue/cli-service')
+const version = require('./package.json').version;
+
+process.env.VUE_APP_VERSION = version;
+
module.exports = defineConfig({
transpileDependencies: true,