applyformat in gutenberg doesnt work and no errors

You won’t see applied format in result’s text attribute, however your result should have new activeFormats attribute. To get HTML with applied formats you can use wp.richText.toHTMLString({result}). This answer might help with some ideas.