diff --git a/test/commands/eval.test.js b/test/commands/eval.test.js index c719d932..a78250c0 100644 --- a/test/commands/eval.test.js +++ b/test/commands/eval.test.js @@ -122,7 +122,7 @@ describe("eval in v10", () => { await evalV10("Database.create({ name: 'MyDB' })"); }) .stdout() - // --secret is passed by withOpts, so passing a scope should be disallowed. + // --secret is passed by withOpts, and it is not scoped, so passing a scope should be allowed. .command(withOpts(["eval", "MyDB", "{ three: 3 }", "--format", "json-tagged"])) .it("allows setting --secret and scope", ctx => { expect(JSON.parse(ctx.stdout)).to.deep.equal({ three: { "@int": "3" } });