mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 17:23:02 +00:00
11 lines
335 B
JavaScript
11 lines
335 B
JavaScript
describe('test some capabilities of PhantomJS', function () {
|
|
it('Array.from(Set)', function () {
|
|
var s = new Set([1,1]);
|
|
var result = Array.from(s);
|
|
expect(result).to.eql([1]);
|
|
});
|
|
it('has ArrayBuffer.isView', function () {
|
|
expect(typeof ArrayBuffer.isView).to.eql('function');
|
|
});
|
|
});
|