@molecule/app-locales-now-playing-bar 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-locales-now-playing-bar",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Translations for @molecule/app-now-playing-bar-react in 79 languages",
5
5
  "homepage": "https://www.molecule.dev/packages/app-locales-now-playing-bar",
6
6
  "type": "module",
@@ -35,6 +35,6 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "6.0.3",
38
- "vitest": "4.1.11"
38
+ "vitest": "4.1.12"
39
39
  }
40
40
  }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/index.test.ts"],"names":[],"mappings":""}
@@ -1,20 +0,0 @@
1
- import { describe, expect, it } from 'vitest';
2
- import * as locales from '../index.js';
3
- const reference = locales.en;
4
- const REQUIRED_KEYS = Object.keys(reference);
5
- const localeTables = Object.entries(locales).filter((entry) => entry[1] !== null && typeof entry[1] === 'object');
6
- describe('now-playing-bar-react locale bond', () => {
7
- it('exports at least 79 language tables (en + 78 stubs)', () => {
8
- expect(localeTables.length).toBeGreaterThanOrEqual(79);
9
- });
10
- it('the en reference table defines at least one key', () => {
11
- expect(REQUIRED_KEYS.length).toBeGreaterThan(0);
12
- });
13
- it.each(localeTables)('locale "%s" supplies every key en defines', (code, table) => {
14
- for (const key of REQUIRED_KEYS) {
15
- expect(typeof table[key], `${code} missing ${String(key)}`).toBe('string');
16
- expect(table[key].length, `${code} empty ${String(key)}`).toBeGreaterThan(0);
17
- }
18
- });
19
- });
20
- //# sourceMappingURL=index.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.test.js","sourceRoot":"","sources":["../../src/__tests__/index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