Replace assert.deepEqual() by assert.deepStrictEqual()
This commit is contained in:
@@ -100,7 +100,7 @@ describe('user render timeout limit', function () {
|
||||
this.testClient.getLayergroup({ response: expectedResponse }, (err, timeoutError) => {
|
||||
assert.ifError(err);
|
||||
|
||||
assert.deepEqual(timeoutError, {
|
||||
assert.deepStrictEqual(timeoutError, {
|
||||
errors: [renderTimeoutErrorMessage],
|
||||
errors_with_context: [{
|
||||
type: 'limit',
|
||||
@@ -210,7 +210,7 @@ describe('user render timeout limit', function () {
|
||||
this.testClient.getTile(0, 0, 0, params, (err, res, timeoutError) => {
|
||||
assert.ifError(err);
|
||||
|
||||
assert.deepEqual(timeoutError, {
|
||||
assert.deepStrictEqual(timeoutError, {
|
||||
errors: [renderTimeoutErrorMessage],
|
||||
errors_with_context: [{
|
||||
type: 'limit',
|
||||
@@ -318,7 +318,7 @@ describe('user render timeout limit', function () {
|
||||
this.testClient.getTile(0, 0, 0, params, (err, res, tile) => {
|
||||
assert.ifError(err);
|
||||
|
||||
assert.deepEqual(tile, {
|
||||
assert.deepStrictEqual(tile, {
|
||||
errors: [renderTimeoutErrorMessage],
|
||||
errors_with_context: [{
|
||||
type: 'limit',
|
||||
@@ -434,7 +434,7 @@ describe('user render timeout limit', function () {
|
||||
this.testClient.getStaticCenter(params, function (err, res, timeoutError) {
|
||||
assert.ifError(err);
|
||||
|
||||
assert.deepEqual(timeoutError, {
|
||||
assert.deepStrictEqual(timeoutError, {
|
||||
errors: [renderTimeoutErrorMessage],
|
||||
errors_with_context: [{
|
||||
type: 'limit',
|
||||
|
||||
Reference in New Issue
Block a user