Add current language utility unit test #106

Merged
jakob.scheid merged 17 commits from testing/current-language-util into main 2026-06-04 12:41:55 +02:00
Showing only changes of commit 352bd5baf5 - Show all commits
+4 -1
View File
@@ -14,7 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import { test } from 'vitest';
import { expect, test } from 'vitest';
import getCurrentLanguage from '../currentLanguage';
test.for([
['en', 'en'],
@@ -43,4 +44,6 @@ test.for([
value: language,
configurable: true
});
expect(getCurrentLanguage()).toBe(language)
});