code: def testInvokeTFJSRewriter(self, converter):
      src_model_path = "/path/to/src/model"
      dst_model_path = "/path/to/dst/model"
  
      src_model = rewriter.ModelDescription(
          rewriter.ModelType.SAVED_MODEL, src_model_path
      )
      dst_model = rewriter.ModelDescription(
          rewriter.ModelType.TFJS_MODEL, dst_model_path
      )
  
      tfrw = tfjs_rewriter.TFJSRewriter(name="myrw")
      tfrw.perform_rewrite(src_model, dst_model)
  
      converter.assert_called_once_with(src_model_path, dst_model_path)
  
imports: import unittest
  from unittest import mock
  import tensorflow
  from tfx.components.trainer.rewriting import rewriter
label_desc: Use image node_id 1 for calling the TFJSRewriterTest obj's underlying member method code with example usage: obj.testInvokeTFJSRewriter(converter) without return types