mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
fixed specs descriptions
This commit is contained in:
@@ -58,7 +58,7 @@ describe('NodeUtils', () => {
|
||||
assert.deepEqual(blockStatementNode, expectedBlockStatementNode);
|
||||
});
|
||||
|
||||
it('should does not change `BlockStatement` node body if given node is not a valid AbstractCustomNode', () => {
|
||||
it('should does not change `BlockStatement` node body if given node is not a valid Node', () => {
|
||||
assert.doesNotChange(
|
||||
() => NodeUtils.appendNode(blockStatementNode.body, <INode>{}),
|
||||
blockStatementNode,
|
||||
@@ -227,7 +227,7 @@ describe('NodeUtils', () => {
|
||||
assert.deepEqual(blockStatementNode, expectedBlockStatementNode);
|
||||
});
|
||||
|
||||
it('should does not change `BlockStatement` node body if given node is not a valid AbstractCustomNode', () => {
|
||||
it('should does not change `BlockStatement` node body if given node is not a valid Node', () => {
|
||||
assert.doesNotChange(
|
||||
() => NodeUtils.insertNodeAtIndex(blockStatementNode.body, <INode>{}, 1),
|
||||
blockStatementNode,
|
||||
@@ -310,7 +310,7 @@ describe('NodeUtils', () => {
|
||||
assert.deepEqual(blockStatementNode, expectedBlockStatementNode);
|
||||
});
|
||||
|
||||
it('should does not change `BlockStatement` node body if given node is not a valid AbstractCustomNode', () => {
|
||||
it('should does not change `BlockStatement` node body if given node is not a valid Node', () => {
|
||||
assert.doesNotChange(
|
||||
() => NodeUtils.prependNode(blockStatementNode.body, <INode>{}),
|
||||
blockStatementNode,
|
||||
|
||||
Reference in New Issue
Block a user