Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit fe58dad

Browse files
author
Vikas Agarwal
committed
unit tests fix
1 parent 4d568eb commit fe58dad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/app.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@ describe('app', () => {
303303
it('should create `Project.Created` notification', (done) => {
304304
sendTestEvent(sampleEvents.draftCreated, 'project.draft-created');
305305
setTimeout(() => {
306-
const expectedTitle = 'Your project has been created, and we\'re ready for your specification';
307-
const expectedBody = 'Hello, Coder here! Your project \'test\' has been drafted. If you have your requirements documented, just verify it against our checklist and then upload it on the <a href="https://connect.topcoder-dev.com/projects/1/scope/" rel="nofollow">Scope</a> section. Once you\'ve finalized your scope, select the "Submit for Review" button. Topcoder will then review your drafted project and will assign a manager to get your delivery in-progress! Get stuck or need help? Email us at <a href="mailto:support@topcoder.com?subject=Question%20Regarding%20My%20New%20Topcoder%20Connect%20Project" rel="nofollow">support@topcoder.com</a>.';
306+
const expectedTitle = 'Share requirements and submit your draft project for review.';
307+
const expectedBody = 'Your project \'test\' has been drafted. If you have requirements documented, share them for review under the Files or Links section. Once you’re ready, click the "Submit for Review" button. Topcoder will then review your drafted project and will get your project started! Get stuck or need help? Email us at <a href="mailto:support@topcoder.com?subject=Question%20Regarding%20My%20New%20Topcoder%20Connect%20Project" rel="nofollow">support@topcoder.com</a>.';
308308
const params = spy.lastCall.args;
309309
assert.equal(params[2], expectedTitle);
310310
assert.equal(params[3], expectedBody);

0 commit comments

Comments
 (0)