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

Commit 95dcc1b

Browse files
update tests
1 parent 9bfe8f9 commit 95dcc1b

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

test/atom/marker.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ describe('Marker', function() {
159159

160160
it('if its ID is invalid', function() {
161161
mount(<ErrorBoundary><Marker editor={editor} id={67} /></ErrorBoundary>);
162-
assert.strictEqual(errors[0].message, 'Error: Invalid marker ID: 67');
162+
assert.strictEqual(errors[0].message, 'Invalid marker ID: 67');
163163
});
164164
});
165165

test/fixtures/props/git-tab-props.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ export function gitTabItemProps(atomEnv, repository, overrides = {}) {
2626
openFiles: noop,
2727
openInitializeDialog: noop,
2828
changeWorkingDirectory: noop,
29+
onDidChangeWorkDirs: noop,
30+
getCurrentWorkDirs: () => [],
2931
...overrides
3032
};
3133
}

test/fixtures/props/github-tab-props.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ export function gitHubTabItemProps(atomEnv, repository, overrides = {}) {
1616
getPaths: () => [],
1717
},
1818
changeWorkingDirectory: () => {},
19+
onDidChangeWorkDirs: () => {},
20+
getCurrentWorkDirs: () => [],
1921
...overrides,
2022
};
2123
}

0 commit comments

Comments
 (0)