We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cbfb9c commit ccc343eCopy full SHA for ccc343e
test/unit/render-util.test.js
@@ -0,0 +1,15 @@
1
+const { removeAtag } = require(`${SRC_PATH}/core/render/utils`);
2
+
3
+// Suite
4
+// -----------------------------------------------------------------------------
5
+describe('core/render/utils', () => {
6
+ // removeAtag()
7
+ // ---------------------------------------------------------------------------
8
+ describe('removeAtag()', () => {
9
+ test('removeAtag from a link', () => {
10
+ const result = removeAtag('<a href="www.example.com">content</a>');
11
12
+ expect(result).toEqual('content');
13
+ });
14
15
+});
0 commit comments