diff --git a/test/tests/Item.js b/test/tests/Item.js index 0f6dc734..109ab3a5 100644 --- a/test/tests/Item.js +++ b/test/tests/Item.js @@ -513,4 +513,13 @@ test('Cloning a linked size', function() { if (error) description += ': ' + error; equals(error == null, true, description); -}); \ No newline at end of file +}); + +test('Item#type', function() { + equals(new Group().type, 'group'); + equals(new Path().type, 'path'); + equals(new CompoundPath().type, 'compoundpath'); + equals(new Raster().type, 'raster'); + equals(new PlacedSymbol().type, 'placedsymbol'); + equals(new PointText().type, 'pointtext'); +});