Skip to content

Commit

Permalink
fix: remove old tests and data from auth package
Browse files Browse the repository at this point in the history
  • Loading branch information
yknl committed Sep 9, 2020
1 parent 9fc294e commit 30e446f
Show file tree
Hide file tree
Showing 81 changed files with 0 additions and 38,507 deletions.
89 changes: 0 additions & 89 deletions overview.md

This file was deleted.

78 changes: 0 additions & 78 deletions packages/auth/tests/sampleData.ts
Expand Up @@ -46,81 +46,3 @@ export const sampleTokenFiles = {
body: JSON.parse(fs.readFileSync(`${TEST_DATA_DIR}/token-files/ryan.json`, 'utf8'))
}
}

export const sampleProofs = {
naval: JSON.parse(fs.readFileSync(`${TEST_DATA_DIR}/profiles/naval.proofs.json`, 'utf8')),
larry: JSON.parse(fs.readFileSync(`${TEST_DATA_DIR}/profiles/larry.proofs.json`, 'utf8')),
ken: JSON.parse(fs.readFileSync(`${TEST_DATA_DIR}/profiles/ken.proofs.json`, 'utf8')),
bruno: JSON.parse(fs.readFileSync(`${TEST_DATA_DIR}/profiles/bruno.proofs.json`, 'utf8'))
}

export const sampleVerifications = {
naval: {
facebook: {
url: 'https://www.facebook.com/navalr/posts/10152190734077261',
body: fs.readFileSync(`${TEST_DATA_DIR}/profiles/naval.verification.facebook.html`, 'utf8')
},
github: {
url: 'https://gist.github.com/navalr/f31a74054f859ec0ac6a',
body: fs.readFileSync(`${TEST_DATA_DIR}/profiles/naval.verification.github.html`, 'utf8')
},
twitter: {
url: 'https://twitter.com/naval/status/486609266212499456',
body: fs.readFileSync(`${TEST_DATA_DIR}/profiles/naval.verification.twitter.html`, 'utf8')
}
},
larry: {
facebook: {
url: 'https://www.facebook.com/larry.salibra/posts/10100341028448093',
body: fs.readFileSync(`${TEST_DATA_DIR}/profiles/larry.verification.facebook.html`, 'utf8')
}
}
}

export const sampleAddressBasedVerifications = {
larry: {
facebook: {
url: 'https://www.facebook.com/larrysalibra/posts/10100341028448094',
body: fs.readFileSync(`${TEST_DATA_DIR}/profiles/larry.verification.address.facebook.html`,
'utf8')
}
},
ken: {
github: {
url: 'https://gist.github.com/yknl/37c763ab7bc6cf89b919212ef3f10676',
body: fs.readFileSync(`${TEST_DATA_DIR}/profiles/ken.verification.github.html`, 'utf8')
},
twitter: {
url: 'https://twitter.com/YukanL/status/903285763240022017',
body: fs.readFileSync(`${TEST_DATA_DIR}/profiles/ken.verification.twitter.html`, 'utf8')
},
instagram: {
url: 'https://www.instagram.com/p/BYj6UDwgaX7/',
body: fs.readFileSync(`${TEST_DATA_DIR}/profiles/ken.verification.instagram.html`, 'utf8')
},
instagramRegression: {
url: 'https://www.instagram.com/p/BYj6UDwgaX7/',
body: fs.readFileSync(`${TEST_DATA_DIR}/profiles/`
+ 'ken.verification.instagram.regression.html', 'utf8')
},
hackerNews: {
url: 'https://news.ycombinator.com/user?id=yukanl',
body: fs.readFileSync(`${TEST_DATA_DIR}/profiles/ken.verification.hackernews.html`, 'utf8')
},
linkedIn: {
url: 'https://www.linkedin.com/feed/update/urn:li:activity:6311587377647222784/',
body: fs.readFileSync(`${TEST_DATA_DIR}/profiles/ken.verification.linkedin.html`, 'utf8')
},
linkedInBroken: {
url: 'https://www.linkedin.com/feed/update/urn:li:activity:6311587377647222784/',
body: fs.readFileSync(`${TEST_DATA_DIR}/profiles/ken.verification.linkedinbroken.html`,
'utf8')
}
},
oscar: {
linkedIn: {
url: 'https://www.linkedin.com/feed/update/urn:li:activity:6504006525630189568/',
body: fs.readFileSync(`${TEST_DATA_DIR}/profiles/oscar.verification.linkedin.html`, 'utf8')
}
}
}
8 changes: 0 additions & 8 deletions packages/auth/tests/testData/profiles/bruno.proofs.json

This file was deleted.

20 changes: 0 additions & 20 deletions packages/auth/tests/testData/profiles/ken.proofs.json

This file was deleted.

0 comments on commit 30e446f

Please sign in to comment.