From dcedb6654d4c5c151646d4901a8d85a3a657dea2 Mon Sep 17 00:00:00 2001 From: Irakli Gozalishvili Date: Mon, 20 Jul 2020 21:28:00 -0700 Subject: [PATCH] fix: reflect removed lastModified->mtime in tests --- .../test/files/normalise-input.spec.js | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/packages/ipfs-core-utils/test/files/normalise-input.spec.js b/packages/ipfs-core-utils/test/files/normalise-input.spec.js index dddab78cd8..4094014c54 100644 --- a/packages/ipfs-core-utils/test/files/normalise-input.spec.js +++ b/packages/ipfs-core-utils/test/files/normalise-input.spec.js @@ -285,8 +285,7 @@ describe('normalise-input', function () { { path: 'bla', instanceOf: File, - content: encodeText('DOM file'), - mtime + content: encodeText('DOM file') } ] ) @@ -302,8 +301,7 @@ describe('normalise-input', function () { path: 'file2', instanceOf: File, content: encodeText('DOM file'), - type: 'text/plain', - mtime + type: 'text/plain' } ] ) @@ -887,7 +885,6 @@ describe('normalise-input', function () { { path: 'foo', instanceOf: File, - mtime, content: encodeText('hello') } ] @@ -904,7 +901,6 @@ describe('normalise-input', function () { }, { path: 'w', - mtime, instanceOf: File, content: encodeText('world') } @@ -1062,7 +1058,6 @@ describe('normalise-input', function () { { path: 'w', instanceOf: File, - mtime, content: encodeText('world') } ] @@ -1159,7 +1154,6 @@ describe('normalise-input', function () { { path: 'file', instanceOf: File, - mtime, content: encodeText('file') } ] @@ -1289,7 +1283,6 @@ describe('normalise-input', function () { { path: 'foo', instanceOf: File, - mtime, content: encodeText('hello') } ] @@ -1309,7 +1302,6 @@ describe('normalise-input', function () { }, { path: 'w', - mtime, instanceOf: File, content: encodeText('world') } @@ -1508,7 +1500,6 @@ describe('normalise-input', function () { { path: 'w', instanceOf: File, - mtime, content: encodeText('world') } ] @@ -1605,7 +1596,6 @@ describe('normalise-input', function () { { path: 'file', instanceOf: File, - mtime, content: encodeText('file') } ]