forked from karma-runner/karma
-
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.
chore(test): scenario for checking socket message order
- Loading branch information
Jonathan Ginsburg
committed
Jun 21, 2021
1 parent
2b71a3c
commit 4d46e84
Showing
4 changed files
with
51 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Feature: Client-Server Communications | ||
In order to use Karma | ||
As a person who wants to write great tests | ||
I want to be able to run tests from the command line. | ||
|
||
Scenario: Messages arrive in order | ||
Given a configuration with: | ||
""" | ||
files = ['communications/test.js']; | ||
browsers = ['ChromeHeadlessNoSandbox']; | ||
plugins = [ | ||
'karma-jasmine', | ||
'karma-chrome-launcher' | ||
]; | ||
""" | ||
And the environment: | ||
| DEBUG | * | | ||
When I start Karma | ||
Then the stderr contains in order socket.io logs |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
describe('a suite', function () { | ||
it('a spec', function () { | ||
expect().nothing() | ||
}) | ||
}) |
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