calling fragments() on a text layer produces an error
Calling the fragments() function on a text layer produces this:
MORuntimeException: ObjC method new requires 0 arguments, but Javascript passed 1 argument

"var Text = require('sketch/dom').Text

var text = new Text({
  text: 'my text',
  alignment: Text.Alignment.center,
})

log(text.fragments())"