Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: reflect removed lastModified->mtime in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Gozala committed Jul 21, 2020
1 parent 1859549 commit dcedb66
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions packages/ipfs-core-utils/test/files/normalise-input.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,7 @@ describe('normalise-input', function () {
{
path: 'bla',
instanceOf: File,
content: encodeText('DOM file'),
mtime
content: encodeText('DOM file')
}
]
)
Expand All @@ -302,8 +301,7 @@ describe('normalise-input', function () {
path: 'file2',
instanceOf: File,
content: encodeText('DOM file'),
type: 'text/plain',
mtime
type: 'text/plain'
}
]
)
Expand Down Expand Up @@ -887,7 +885,6 @@ describe('normalise-input', function () {
{
path: 'foo',
instanceOf: File,
mtime,
content: encodeText('hello')
}
]
Expand All @@ -904,7 +901,6 @@ describe('normalise-input', function () {
},
{
path: 'w',
mtime,
instanceOf: File,
content: encodeText('world')
}
Expand Down Expand Up @@ -1062,7 +1058,6 @@ describe('normalise-input', function () {
{
path: 'w',
instanceOf: File,
mtime,
content: encodeText('world')
}
]
Expand Down Expand Up @@ -1159,7 +1154,6 @@ describe('normalise-input', function () {
{
path: 'file',
instanceOf: File,
mtime,
content: encodeText('file')
}
]
Expand Down Expand Up @@ -1289,7 +1283,6 @@ describe('normalise-input', function () {
{
path: 'foo',
instanceOf: File,
mtime,
content: encodeText('hello')
}
]
Expand All @@ -1309,7 +1302,6 @@ describe('normalise-input', function () {
},
{
path: 'w',
mtime,
instanceOf: File,
content: encodeText('world')
}
Expand Down Expand Up @@ -1508,7 +1500,6 @@ describe('normalise-input', function () {
{
path: 'w',
instanceOf: File,
mtime,
content: encodeText('world')
}
]
Expand Down Expand Up @@ -1605,7 +1596,6 @@ describe('normalise-input', function () {
{
path: 'file',
instanceOf: File,
mtime,
content: encodeText('file')
}
]
Expand Down

0 comments on commit dcedb66

Please sign in to comment.