Skip to content

Commit

Permalink
fix: update snapshot (#1478)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele authored and peternhale committed Jan 9, 2025
1 parent e509950 commit bf10db9
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 13 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Redistribution and use in source and binary forms, with or without modification,

* Neither the name of Salesforce.com nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2 changes: 1 addition & 1 deletion test/client/metadataApiDeploy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import chai, { assert, expect } from 'chai';
import { AnyJson, ensureString, getString } from '@salesforce/ts-types';
import { envVars, Lifecycle, Messages, PollingClient, StatusResult } from '@salesforce/core';
import { Duration } from '@salesforce/kit';
import deepEqualInAnyOrder = require('deep-equal-in-any-order');
import deepEqualInAnyOrder from 'deep-equal-in-any-order';
import {
ComponentSet,
ComponentStatus,
Expand Down
4 changes: 2 additions & 2 deletions test/client/metadataApiRetrieve.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { fail } from 'node:assert';
import { join, sep } from 'node:path';
import { Messages } from '@salesforce/core';
import { assert, expect } from 'chai';
import chai = require('chai');
import deepEqualInAnyOrder = require('deep-equal-in-any-order');
import * as chai from 'chai';
import deepEqualInAnyOrder from 'deep-equal-in-any-order';
import { SinonStub } from 'sinon';
import { ensureString, getString } from '@salesforce/ts-types';
import fs from 'graceful-fs';
Expand Down
4 changes: 2 additions & 2 deletions test/convert/convertContext/convertContext.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/

import { createSandbox } from 'sinon';
import chai = require('chai');
import deepEqualInAnyOrder = require('deep-equal-in-any-order');
import * as chai from 'chai';
import deepEqualInAnyOrder from 'deep-equal-in-any-order';
import { WriterFormat } from '../../../src';
import { ConvertContext } from '../../../src/convert/convertContext/convertContext';
import { decomposed, matchingContentFile, nonDecomposed } from '../../mock';
Expand Down
2 changes: 1 addition & 1 deletion test/convert/replacements.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
import * as path from 'node:path';
import { assert, expect, config } from 'chai';
import Sinon = require('sinon');
import * as Sinon from 'sinon';
import { Lifecycle } from '@salesforce/core';
import {
getReplacements,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Case</members>
<name>Workflow</name>
<members>Case.ChangePriorityToHigh</members>
<members>Case.ChangePriorityToLow</members>
<members>Case.ChangePriorityToMedium</members>
<name>WorkflowFieldUpdate</name>
</types>
<version>60.0</version>
</Package>
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,20 @@
<name>EmailTemplate</name>
</types>
<types>
<members>Account</members>
<name>Workflow</name>
<members>Account.emailalert1</members>
<name>WorkflowAlert</name>
</types>
<types>
<members>Account.fieldupdate1</members>
<name>WorkflowFieldUpdate</name>
</types>
<types>
<members>Account.outboundmsg1</members>
<name>WorkflowOutboundMessage</name>
</types>
<types>
<members>Account.task_1</members>
<name>WorkflowTask</name>
</types>
<version>60.0</version>
</Package>
4 changes: 2 additions & 2 deletions test/utils/filePathGenerator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/
import * as path from 'node:path';
import { expect } from 'chai';
import deepEqualInAnyOrder = require('deep-equal-in-any-order');
import chai = require('chai');
import deepEqualInAnyOrder from 'deep-equal-in-any-order';
import * as chai from 'chai';
import { filePathsFromMetadataComponent } from '../../src/utils/filePathGenerator';
import { MetadataComponent, MetadataResolver, MetadataType, RegistryAccess, VirtualTreeContainer } from '../../src';

Expand Down

0 comments on commit bf10db9

Please sign in to comment.