Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vanessayuenn committed Nov 21, 2018
1 parent abeed4d commit a465a67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/controllers/root-controller.test.js
Expand Up @@ -1116,7 +1116,7 @@ describe('RootController', function() {
const uri = CommitPreviewItem.buildURI(workdir);
const item = await atomEnv.workspace.open(uri);

assert.strictEqual(item.getTitle(), 'Commit preview');
assert.strictEqual(item.getTitle(), 'Staged Changes');
assert.lengthOf(wrapper.update().find('CommitPreviewItem'), 1);
});

Expand Down
4 changes: 2 additions & 2 deletions test/items/commit-preview-item.test.js
Expand Up @@ -96,8 +96,8 @@ describe('CommitPreviewItem', function() {
const wrapper = mount(buildPaneApp());
const item = await open(wrapper);

assert.strictEqual(item.getTitle(), 'Commit preview');
assert.strictEqual(item.getIconName(), 'git-commit');
assert.strictEqual(item.getTitle(), 'Staged Changes');
assert.strictEqual(item.getIconName(), 'tasklist');
});

it('terminates pending state', async function() {
Expand Down

0 comments on commit a465a67

Please sign in to comment.