Compare commits

...

1 Commits

Author SHA1 Message Date
Lauren Spiegel badaee9ea9 test unit tests 2017-07-28 11:20:32 -07:00
2 changed files with 2 additions and 2 deletions

View File

@ -73,6 +73,6 @@
"utapi_replay": "node lib/utapi/utapiReplay.js",
"test": "CI=true S3BACKEND=mem mocha --recursive tests/unit",
"multiple_backend_test": "CI=true S3BACKEND=mem S3DATA=multiple mocha --recursive tests/multipleBackend",
"unit_coverage": "CI=true mkdir -p coverage/unit/ && S3BACKEND=mem MOCHA_FILE=$CIRCLE_TEST_REPORTS/unit/unit.xml istanbul cover --dir coverage/unit _mocha -- --reporter mocha-junit-reporter --recursive tests/unit"
"unit_coverage": "mkdir -p coverage/unit/ && CI=true S3BACKEND=mem MOCHA_FILE=$CIRCLE_TEST_REPORTS/unit/unit.xml istanbul cover --dir coverage/unit _mocha -- --reporter mocha-junit-reporter --recursive tests/unit"
}
}

View File

@ -16,7 +16,7 @@ describe('Middleware: Collect Response Headers', () => {
it(`should skip replication header ${item.test}`, () => {
const headers = collectResponseHeaders(item.md);
assert.deepStrictEqual(headers['x-amz-replication-status'],
undefined);
'fail');
});
});
});