mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-23 00:13:13 +09:00
Added tests using mocha
This commit is contained in:
1 parent
336eb07cab
commit
cd44b3572b
3 files changed
+72
-1
No files matched your search
@@ -38,6 +38,11 @@ var clone = function(obj) {
|
||||
return copy;
|
||||
}
|
||||
|
||||
var deepclone = function(obj){
|
||||
return JSON.parse(JSON.stringify(obj));
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
clone:clone,
|
||||
deepclone:deepclone,
|
||||
};
|
||||
Reference in new issue
Block a user