Skip to content

Commit 7321d44

Browse files
committed
skip code coverage
1 parent b39a7cb commit 7321d44

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,5 @@
152152
"commitizen": {
153153
"path": "./node_modules/cz-conventional-changelog"
154154
}
155-
},
156-
"jest": {
157-
"testPathIgnorePatterns" : [
158-
"packages/extension-driver-redshift/test/redshiftDataSource.spec.ts"
159-
]
160155
}
161156
}

packages/extension-driver-redshift/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ To run test, the following environment variables are required:
5252
- AWS_REDSHIFT_DATABASE
5353
- AWS_REDSHIFT_WORKGROUP_NAME
5454

55+
To enable the test for `test/redshiftDataSource.spec.ts`:
56+
- remove `.skip` inside `test/redshiftDataSource.spec.ts` to enable the test.
57+
- remove `/* istanbul ignore file */` in the `test/redshiftDataSource.spec.ts`
58+
5559
Local Testing Success Message:(Since the tests run in CI are disabled, so I paste the local testing result here!)
5660

5761
```bash

packages/extension-driver-redshift/test/redshiftDataSource.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* istanbul ignore file */
2+
13
import { RedShiftDataSource } from '../src';
24
import { RedShiftFakeServer } from './redshiftServer';
35
import { streamToArray } from '@vulcan-sql/core';

0 commit comments

Comments
 (0)