We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6782771 commit cd74ab5Copy full SHA for cd74ab5
test/unit/org/resumeSandbox.test.ts
@@ -79,7 +79,6 @@ describe('[org resume sandbox]', () => {
79
});
80
stubMethod(sandbox, Org, 'create').resolves(Org.prototype);
81
stubMethod(sandbox, Org.prototype, 'getUsername').returns(prodOrgUsername);
82
- const sbxCreateNotComplete = new SfError('sbx create not complete', 'sandboxCreateNotComplete');
83
const inProgSandboxProcessObj = Object.assign({}, sandboxProcessObj, {
84
Status: 'In Progress',
85
Id: '0GR4p000000U8EMZZZ',
@@ -91,7 +90,7 @@ describe('[org resume sandbox]', () => {
91
90
inProgSandboxProcessObj,
92
sandboxProcessObj,
93
]);
94
- throw sbxCreateNotComplete;
+ throw new SfError('sbx create not complete', 'sandboxCreateNotComplete');
95
96
97
try {
0 commit comments