This commit is contained in:
Hongbo Wu
2023-08-14 16:38:24 +08:00
parent af5d26209d
commit e3654e8ae2
5 changed files with 15 additions and 11 deletions

View File

@ -135,7 +135,7 @@ describe('Test csv importer', () => {
expect(importedLabels).to.eql([
['Label1', 'Label2', 'Label 3', 'Label 4'],
[],
[],
undefined,
])
})
})

View File

@ -1,3 +1,4 @@
"https://omnivore.app",ARCHIVED,"[""test""]"
"https://google.com",SUCCEEDED,"[""test"",""development""]"
https://test.com,SUCCEEDED,"[test, development]"
url,state,labels,saved_at,published_at
"https://omnivore.app",ARCHIVED,"[""test""]",,
"https://google.com",SUCCEEDED,"[""test"",""development""]",,
https://test.com,SUCCEEDED,"[test, development]",,

1 https://omnivore.app url ARCHIVED state ["test"] labels saved_at published_at
2 https://google.com https://omnivore.app SUCCEEDED ARCHIVED ["test","development"] ["test"]
3 https://test.com https://google.com SUCCEEDED SUCCEEDED [test, development] ["test","development"]
4 https://test.com SUCCEEDED [test, development]

View File

@ -1,3 +1,4 @@
"https://test.url/path01",,"[Label1,Label2, Label 3, Label 4 ]"
"https://test.url/path02",,"[]"
"https://test.url/path03",,
url,state,labels,saved_at,published_at
"https://test.url/path01",,"[Label1,Label2, Label 3, Label 4 ]",,
"https://test.url/path02",,"[]",,
"https://test.url/path03",,,,

1 https://test.url/path01 url state [Label1,Label2, Label 3, Label 4 ] labels saved_at published_at
2 https://test.url/path02 https://test.url/path01 [] [Label1,Label2, Label 3, Label 4 ]
3 https://test.url/path03 https://test.url/path02 []
4 https://test.url/path03

View File

@ -1,2 +1,3 @@
"https://omnivore.app"
"https://google.com"
url,state,labels,saved_at,published_at
"https://omnivore.app",,,,
"https://google.com",,,,

1 https://omnivore.app url state labels saved_at published_at
2 https://google.com https://omnivore.app
3 https://google.com

View File

@ -1,2 +1,3 @@
"https://test.url/path01",,"[Random]"
"https://test.url/path02",ARCHIVED,"[Random]"
url,state,labels,saved_at,published_at
"https://test.url/path01",,"[Random]",,
"https://test.url/path02",ARCHIVED,"[Random]",,

1 https://test.url/path01 url state [Random] labels saved_at published_at
2 https://test.url/path02 https://test.url/path01 ARCHIVED [Random] [Random]
3 https://test.url/path02 ARCHIVED [Random]