File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ const test = require('ava')
2
2
const helpers = require ( './_helpers' )
3
3
const cache = require ( '../src/cache' )
4
4
5
- test . afterEach ( 'reset cache' , ( ) => {
5
+ test . afterEach . always ( 'reset cache' , ( ) => {
6
6
cache . reset ( )
7
7
} )
8
8
Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ const helpers = require('./_helpers')
3
3
const fixtures = require ( './fixtures' )
4
4
const cache = require ( '../src/cache' )
5
5
6
- test . afterEach ( 'reset instances and prototypes' , ( ) => {
6
+ test . afterEach . always ( 'reset instances and prototypes' , ( ) => {
7
7
cache . reset ( )
8
8
} )
9
9
10
10
const publicKeyConfig = {
11
11
realmUrl : fixtures . common . realmUrl ,
12
12
clientId : fixtures . common . clientId ,
13
- publicKey : fixtures . common . publicKey
13
+ publicKey : fixtures . common . publicKeyRsa
14
14
}
15
15
16
16
test . cb . serial ( 'authentication does succeed' , ( t ) => {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const helpers = require('./_helpers')
4
4
const fixtures = require ( './fixtures' )
5
5
const cache = require ( '../src/cache' )
6
6
7
- test . afterEach ( 'reset instances and prototypes' , ( ) => {
7
+ test . afterEach . always ( 'reset instances and prototypes' , ( ) => {
8
8
cache . reset ( )
9
9
nock . cleanAll ( )
10
10
} )
You can’t perform that action at this time.
0 commit comments