doc-detective 3.1.0-dev.3 → 3.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doc-detective",
3
- "version": "3.1.0-dev.3",
3
+ "version": "3.1.0",
4
4
  "description": "Treat doc content as testable assertions to validate doc accuracy and product UX.",
5
5
  "bin": {
6
6
  "doc-detective": "src/index.js"
package/src/utils.js CHANGED
@@ -117,7 +117,7 @@ async function setConfig({ configPath, args }) {
117
117
  config.logLevel = args.logLevel;
118
118
  }
119
119
  if (typeof args.allowUnsafe === "boolean") {
120
- config.allowUnsafeSteps = args.allowUnsafe;
120
+ config.allowUnsafeTests = args.allowUnsafe;
121
121
  }
122
122
  // Resolve paths
123
123
  config = await resolvePaths({
@@ -169,7 +169,7 @@ describe("Util tests", function () {
169
169
  ],
170
170
  expected: {
171
171
  input: [path.resolve(process.cwd(), "input.spec.json")],
172
- allowUnsafeSteps: true,
172
+ allowUnsafeTests: true,
173
173
  },
174
174
  }
175
175
  ];
package/reference.png DELETED
Binary file