test(current-language-util): add actual test

This commit is contained in:
2026-06-03 17:35:56 +02:00
parent 60744b46c4
commit 42a3e93f60
+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)
});