mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 23:33:13 +09:00
Refactor getFactorioLocale
Move getFactorioLocale to the new lib/factorio namespace and refactor it to use async functions instead of callbacks. Split tests into integration with factorio and testing of the function itself. Also removes the cacheing from the function itself as this breaks the isolated testing of it.
This commit is contained in:
1 parent
a01b971ba2
commit
93480c8b29
8 files changed
+125
-132
No files matched your search
@@ -0,0 +1,4 @@
|
||||
; Test data for getLocale
|
||||
[test]
|
||||
key-a=1
|
||||
key-b=2
|
||||
Reference in new issue
Block a user