forked from enviPath/enviPy
Current Dev State
This commit is contained in:
12
static/js/ketcher2/node_modules/es6-set/test/ext/copy.js
generated
vendored
Normal file
12
static/js/ketcher2/node_modules/es6-set/test/ext/copy.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
var toArray = require('es5-ext/array/to-array')
|
||||
, Set = require('../../');
|
||||
|
||||
module.exports = function (t, a) {
|
||||
var content = ['raz', 2, true], set = new Set(content), copy;
|
||||
|
||||
copy = t.call(set);
|
||||
a.not(copy, set, "Copy");
|
||||
a.deep(toArray(copy), content, "Content");
|
||||
};
|
||||
Reference in New Issue
Block a user