Skip to content
Snippets Groups Projects

Fix wrong timestamps for files with the same name

Merged Nataliia Radina requested to merge 363436-incorrect-timestamps-and-messages into master
All threads resolved!
1 file
+ 6
6
Compare changes
  • Side-by-side
  • Inline
@@ -11,7 +11,7 @@ const MOCK_BLOBS = [
@@ -11,7 +11,7 @@ const MOCK_BLOBS = [
{
{
id: '123abc',
id: '123abc',
sha: '123abc',
sha: '123abc',
flatPath: 'blob',
flatPath: 'main/blob.md',
name: 'blob.md',
name: 'blob.md',
type: 'blob',
type: 'blob',
webPath: '/blob',
webPath: '/blob',
@@ -19,7 +19,7 @@ const MOCK_BLOBS = [
@@ -19,7 +19,7 @@ const MOCK_BLOBS = [
{
{
id: '124abc',
id: '124abc',
sha: '124abc',
sha: '124abc',
flatPath: 'blob2',
flatPath: 'main/blob2.md',
name: 'blob2.md',
name: 'blob2.md',
type: 'blob',
type: 'blob',
webUrl: 'http://test.com',
webUrl: 'http://test.com',
@@ -27,7 +27,7 @@ const MOCK_BLOBS = [
@@ -27,7 +27,7 @@ const MOCK_BLOBS = [
{
{
id: '125abc',
id: '125abc',
sha: '125abc',
sha: '125abc',
flatPath: 'blob3',
flatPath: 'main/blob3.md',
name: 'blob3.md',
name: 'blob3.md',
type: 'blob',
type: 'blob',
webUrl: 'http://test.com',
webUrl: 'http://test.com',
@@ -37,21 +37,21 @@ const MOCK_BLOBS = [
@@ -37,21 +37,21 @@ const MOCK_BLOBS = [
const MOCK_COMMITS = [
const MOCK_COMMITS = [
{
{
fileName: 'blob.md',
filePath: 'main/blob.md',
type: 'blob',
type: 'blob',
commit: {
commit: {
message: 'Updated blob.md',
message: 'Updated blob.md',
},
},
},
},
{
{
fileName: 'blob2.md',
filePath: 'main/blob2.md',
type: 'blob',
type: 'blob',
commit: {
commit: {
message: 'Updated blob2.md',
message: 'Updated blob2.md',
},
},
},
},
{
{
fileName: 'blob3.md',
filePath: 'main/blob3.md',
type: 'blob',
type: 'blob',
commit: {
commit: {
message: 'Updated blob3.md',
message: 'Updated blob3.md',
Loading