mirror of
https://github.com/Hopiu/postal.js.git
synced 2026-03-16 22:20:23 +00:00
Fixed failing test and enabled all test modules to run
This commit is contained in:
parent
3f1396cb35
commit
f6729c191b
4 changed files with 11 additions and 6 deletions
|
|
@ -233,6 +233,7 @@
|
|||
|
||||
reset : function () {
|
||||
this.cache = {};
|
||||
this.regex = {};
|
||||
}
|
||||
};
|
||||
var fireSub = function(subDef, envelope) {
|
||||
|
|
|
|||
8
lib/postal.min.js
vendored
8
lib/postal.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -489,7 +489,7 @@ describe( "Postal", function () {
|
|||
count = 0;
|
||||
} );
|
||||
it( "should have invoked subscription callback twice", function () {
|
||||
expect( count ).to.be( 2 );
|
||||
expect( count ).to.be( 3 );
|
||||
} );
|
||||
} );
|
||||
describe( "When using global publish api", function () {
|
||||
|
|
|
|||
|
|
@ -23,15 +23,13 @@
|
|||
<script type="text/javascript" src="../src/AmqpBindingsResolver.js"></script>
|
||||
<script type="text/javascript" src="../src/LocalBus.js"></script>
|
||||
<script type="text/javascript" src="../src/Api.js"></script>
|
||||
<!--
|
||||
<script type="text/javascript" src="DistinctPredicate.spec.js"></script>
|
||||
<script type="text/javascript" src="ConsecutiveDistinctPredicate.spec.js"></script>
|
||||
<script type="text/javascript" src="ChannelDefinition.spec.js"></script>
|
||||
<script type="text/javascript" src="SubscriptionDefinition.spec.js"></script>
|
||||
-->
|
||||
<script type="text/javascript" src="AmqpBindingsResolver.spec.js"></script><!--
|
||||
<script type="text/javascript" src="AmqpBindingsResolver.spec.js"></script>
|
||||
<script type="text/javascript" src="Postal.spec.js"></script>
|
||||
<script type="text/javascript" src="linkedChannels.spec.js"></script>-->
|
||||
<script type="text/javascript" src="linkedChannels.spec.js"></script>
|
||||
<script type="text/javascript">
|
||||
mocha.run();
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue