mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 15:24:52 +09:00
housekeeping
This commit is contained in:
1 parent
5f3a160b75
commit
4f77c1b473
1 file changed
+3
-3
@@ -1,8 +1,8 @@
|
||||
var assert = require('assert');
|
||||
const libomega = require('./libomega');
|
||||
var libomega = require('./libomega');
|
||||
|
||||
describe("libomega.js", function(){
|
||||
describe("libomega.clone", function(){
|
||||
describe("libomega.clone()", function(){
|
||||
it("clones javascript objects", function(){
|
||||
var object1 = {hello:"world", cat:{legs:4, name:"Kitty", colors:["brown", "yellow", "purple"]}};
|
||||
var object2 = {};
|
||||
@@ -21,7 +21,7 @@ describe("libomega.js", function(){
|
||||
assert.notEqual(obj2.cat.colors[1], "yellow");
|
||||
});
|
||||
});
|
||||
describe("libomega.deepclone", function(){
|
||||
describe("libomega.deepclone()", function(){
|
||||
it("deep clones javascript objects", function(){
|
||||
var obj1 = {hello:"world", cat:{legs:4, name:"Kitty", colors:["brown", "yellow", "purple"]}};
|
||||
var obj2 = {};
|
||||
|
||||
Reference in new issue
Block a user