Skip to content

Commit

Permalink
prettier --write
Browse files Browse the repository at this point in the history
  • Loading branch information
gukoff committed Sep 8, 2023
1 parent eab4560 commit d8d7d15
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/release-source/release/sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ Defines the `property` on `object` with the value `value`. Attempts to define an
var myObject = {};

sandbox.define(myObject, "myValue", function () {
return "blackberry";
return "blackberry";
});

sandbox.define(myObject, "myMethod", function () {
Expand Down
8 changes: 6 additions & 2 deletions test/sandbox-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ describe("Sandbox", function () {

const object = {
existingValue: existingValue,
existingFunction: existingFunction
existingFunction: existingFunction,
};

assert.exception(
Expand All @@ -869,7 +869,11 @@ describe("Sandbox", function () {

assert.exception(
function () {
sandbox.define(object, "existingFunction", () => "new function");
sandbox.define(
object,
"existingFunction",
() => "new function"
);
},
{
message:
Expand Down

0 comments on commit d8d7d15

Please sign in to comment.