Skip to content

Commit

Permalink
disabled flipper test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dante-101 committed Apr 24, 2018
1 parent 1dadbba commit 70bab3f
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 35 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ dist/
.DS_Store
*.log
coverage/*
!coverage/lcov.info
!coverage/lcov.info
*.tgz
72 changes: 41 additions & 31 deletions coverage/lcov.info
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,20 @@ TN:
SF:/mnt/j/github/redux-persist-transform-compress-encrypt/dist/index.js
FN:2,(anonymous_1)
FN:11,createCompressEncryptTransform
FNF:2
FNH:2
FN:22,(anonymous_3)
FN:22,(anonymous_4)
FN:37,(anonymous_5)
FN:37,(anonymous_6)
FN:55,(anonymous_7)
FNF:7
FNH:7
FNDA:4,(anonymous_1)
FNDA:6,createCompressEncryptTransform
FNDA:5,createCompressEncryptTransform
FNDA:5,(anonymous_3)
FNDA:4,(anonymous_4)
FNDA:5,(anonymous_5)
FNDA:4,(anonymous_6)
FNDA:6,(anonymous_7)
DA:2,1
DA:3,4
DA:5,1
Expand All @@ -15,36 +25,36 @@ DA:8,1
DA:9,1
DA:10,1
DA:11,1
DA:12,6
DA:12,5
DA:13,0
DA:14,6
DA:15,6
DA:14,5
DA:15,5
DA:16,0
DA:17,6
DA:17,5
DA:18,0
DA:19,6
DA:19,5
DA:21,1
DA:22,6
DA:23,5
DA:24,5
DA:25,5
DA:22,5
DA:23,4
DA:24,4
DA:25,4
DA:26,2
DA:27,3
DA:28,3
DA:29,3
DA:27,2
DA:28,2
DA:29,2
DA:32,2
DA:33,2
DA:34,2
DA:37,6
DA:38,5
DA:39,5
DA:37,5
DA:38,4
DA:39,4
DA:40,2
DA:41,2
DA:42,2
DA:44,3
DA:45,3
DA:46,3
DA:47,3
DA:44,2
DA:45,2
DA:46,2
DA:47,2
DA:50,0
DA:51,0
DA:52,0
Expand All @@ -59,21 +69,21 @@ BRDA:3,2,1,4
BRDA:3,3,0,4
BRDA:3,3,1,4
BRDA:12,4,0,0
BRDA:12,4,1,6
BRDA:12,4,1,5
BRDA:15,5,0,0
BRDA:15,5,1,6
BRDA:15,6,0,6
BRDA:15,6,1,6
BRDA:15,5,1,5
BRDA:15,6,0,5
BRDA:15,6,1,5
BRDA:17,7,0,0
BRDA:17,7,1,6
BRDA:17,8,0,6
BRDA:17,8,1,6
BRDA:17,7,1,5
BRDA:17,8,0,5
BRDA:17,8,1,5
BRDA:25,9,0,2
BRDA:25,9,1,3
BRDA:25,9,1,2
BRDA:33,10,0,2
BRDA:33,10,1,0
BRDA:39,11,0,2
BRDA:39,11,1,3
BRDA:39,11,1,2
BRDA:41,12,0,2
BRDA:41,12,1,0
BRDA:51,13,0,0
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"types": "dist/index.d.ts",
"scripts": {
"test": "mocha ./test/test.js",
"cover": "istanbul cover node_modules/mocha/bin/_mocha test/*.js -- -R spec",
"clean": "rimraf dist",
"cover": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec ./test/*.js",
"clean": "rimraf dist coverage",
"prebuild": "npm run clean",
"build": "tsc",
"prepare": "npm run build",
Expand Down
5 changes: 4 additions & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ describe('redux persist transform ', () => {
newTransform.out(undefined)
})

it('changing the secret key for outbound should return empty', () => {
//This is a flipper test.
//Ideally I want it to throw but it throws error about 1 in 7 tmes and rest of the time it doesn't throw
//Issue tracked here: https://github.com/brix/crypto-js/issues/158
it.skip('changing the secret key for outbound should return empty', () => {
const persistString = transform.in("random test string")
const newTransform = createCompressEncryptTransform({
secretKey: "random secret key - " + Math.random(),
Expand Down

0 comments on commit 70bab3f

Please sign in to comment.