Skip to content

Commit ba74288

Browse files
author
DIR\luca.bassani
committed
Unit test description updated
1 parent 57097a3 commit ba74288

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/commands/analytics/connected-objects/upsert.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('analytics recipe run', () => {
4646

4747
after(async () => { $$.restore(); });
4848

49-
it('should upsert multiple fields, return a json', async () => {
49+
it('should mark multiple fields and return a json', async () => {
5050
stubMethodsInMetadataBuilder($$, simpleRecipe);
5151
const cmd = new ConnectedObjectUpsert([...commandParams, '--json'], config);
5252
const result = await cmd.run();
@@ -61,7 +61,7 @@ describe('analytics recipe run', () => {
6161
]);
6262
});
6363

64-
it('should update a single field, return a json', async () => {
64+
it('should mark a single field and return a json', async () => {
6565
$$.SANDBOX.stub(MetadataBuilder.prototype, 'getElements').resolves([simpleRecipe]);
6666
$$.SANDBOX.stub(DataConnectionHelper.prototype, 'getReplicatedDatasets').resolves(
6767
getReplicatedDatasets(['User']).replicatedDatasets
@@ -85,7 +85,7 @@ describe('analytics recipe run', () => {
8585
]);
8686
});
8787

88-
it('should upsert multiple fields, print result (warn: 1 extra field found)', async () => {
88+
it('should mark multiple fields and print result (warn: 1 extra field found)', async () => {
8989
$$.SANDBOX.stub(MetadataBuilder.prototype, 'getElements').resolves([simpleRecipe]);
9090
$$.SANDBOX.stub(DataConnectionHelper.prototype, 'getReplicatedDatasets').resolves(
9191
getReplicatedDatasets(['User']).replicatedDatasets
@@ -99,7 +99,7 @@ describe('analytics recipe run', () => {
9999
await cmd.run();
100100
});
101101

102-
it('should make no changes, return a json', async () => {
102+
it('should make no changes and return a json', async () => {
103103
$$.SANDBOX.stub(MetadataBuilder.prototype, 'getElements').resolves([simpleRecipe]);
104104
$$.SANDBOX.stub(DataConnectionHelper.prototype, 'getReplicatedDatasets').resolves(
105105
getReplicatedDatasets(['User']).replicatedDatasets

0 commit comments

Comments
 (0)