-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba836f2
commit d0ae4e1
Showing
5 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,9 @@ describe('AppController', () => { | |
clientKey: 'test-key', | ||
base: 'test-base', | ||
backend: true, | ||
queryBackend: true, | ||
monitor: false, | ||
sentry: false, | ||
}; | ||
|
||
beforeEach(async () => { | ||
|
@@ -174,7 +176,7 @@ describe('AppController', () => { | |
|
||
expect(res).resolves.toBeTruthy(); | ||
expect(mockWs.write).toHaveBeenCalledWith( | ||
'test-name de [email protected] test-username test-base y n', | ||
'test-name de [email protected] test-username test-base y y n n', | ||
); | ||
expect(mockWs.close).toHaveBeenCalled(); | ||
// Ensure tail is properly "unwatched" | ||
|
@@ -185,7 +187,7 @@ describe('AppController', () => { | |
const emptyLocale = { ...deploymentData, locale: '' }; | ||
controller.deployApp(emptyLocale).subscribe(() => { | ||
expect(mockWs.write).toHaveBeenCalledWith( | ||
'test-name en [email protected] test-username test-base y n', | ||
'test-name en [email protected] test-username test-base y y n n', | ||
); | ||
done(); | ||
}); | ||
|
@@ -198,7 +200,7 @@ describe('AppController', () => { | |
delete noLocale.locale; | ||
controller.deployApp(noLocale).subscribe(() => { | ||
expect(mockWs.write).toHaveBeenCalledWith( | ||
'test-name en [email protected] test-username test-base y n', | ||
'test-name en [email protected] test-username test-base y y n n', | ||
); | ||
done(); | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters