@empiricalrun/test-gen 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @empiricalrun/test-gen
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f993c4c: feat: add support for creating test case using google sheet
8
+
9
+ ### Patch Changes
10
+
11
+ - f993c4c: fix: decoding error of new line in evnironment variable
12
+
3
13
  ## 0.2.0
4
14
 
5
15
  ### Minor Changes
@@ -23,7 +23,7 @@ async function generateScenariosUsingGsheet(path) {
23
23
  // TODO: use oauth 2
24
24
  const serviceAccountAuth = new google_auth_library_1.JWT({
25
25
  email: process.env.GOOGLE_SERVICE_EMAIL,
26
- key: process.env.GOOGLE_SERVICE_EMAIL_PRIVATE_KEY,
26
+ key: Buffer.from(process.env.GOOGLE_SERVICE_EMAIL_PRIVATE_KEY, "base64").toString(),
27
27
  scopes: ['https://www.googleapis.com/auth/spreadsheets'],
28
28
  });
29
29
  const doc = new GoogleSpreadsheet(docId, serviceAccountAuth);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/test-gen",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"