Skip to content

Commit 3ca3fd4

Browse files
committed
chore: improve test names
1 parent ce4c780 commit 3ca3fd4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/controller_test.mocha.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,33 +33,33 @@ suite('NavigationController', function () {
3333
this.jsdomCleanup();
3434
});
3535

36-
test('Dispose and reinitialize the navigation controller', async function () {
36+
test('Dispose and reinitialize the navigation controller without crashing', async function () {
3737
const kb = new KeyboardNavigation(this.workspace);
3838
kb.navigationController.dispose();
3939
kb.navigationController.init();
4040
kb.navigationController.dispose();
4141
});
4242

43-
test('Dispose plugin and reinitialize the navigation controller', async function () {
43+
test('Dispose plugin and reinitialize the navigation controller without crashing', async function () {
4444
const kb = new KeyboardNavigation(this.workspace);
4545
kb.dispose();
4646
kb.navigationController.init();
4747
kb.navigationController.dispose();
4848
});
4949

50-
test('Dispose controller and create a new KeyboardNavigation instance', async function () {
50+
test('Dispose controller and create a new KeyboardNavigation instance without crashing', async function () {
5151
const kb = new KeyboardNavigation(this.workspace);
5252
kb.navigationController.dispose();
5353
new KeyboardNavigation(this.workspace);
5454
});
5555

56-
test('Dispose and create a new KeyboardNavigation instance', async function () {
56+
test('Dispose and create a new KeyboardNavigation instance without crashing', async function () {
5757
const kb = new KeyboardNavigation(this.workspace);
5858
kb.dispose();
5959
new KeyboardNavigation(this.workspace);
6060
});
6161

62-
test('Add a workspace to existing instance', async function () {
62+
test('Add a workspace to existing instance without crashing', async function () {
6363
const kb = new KeyboardNavigation(this.workspace);
6464
const workspace2 = Blockly.inject('blocklyDiv');
6565
kb.navigationController.addWorkspace(workspace2);

0 commit comments

Comments
 (0)