Skip to content

Commit

Permalink
fixes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoputzer committed Oct 11, 2023
1 parent 496db32 commit e730d38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"build-coinbase": "node --experimental-modules bin/build-coinbase.mjs",
"build-coinbase-history": "node --experimental-modules bin/build-coinbase-history.mjs",
"build-coinbase-latest": "node --experimental-modules bin/build-coinbase-latest.mjs",
"test": "NODE_V8_COVERAGE=coverage node --experimental-modules --test --test-reporter spec --experimental-test-coverage",
"watch": "serve www & node --experimental-modules --test --test-reporter dot --watch test & wait"
},
"author": "Ivo von Putzer Reibegg <[email protected]> (https://github.com/ivoputzer)",
Expand Down
5 changes: 0 additions & 5 deletions test/lib/cache.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ describe('lib/cache', () => {
it('returns a function', () => {
equal(typeof readCache, 'function')
})
it('returns a function that returns an array of strings', async () => {
const cache = await readCache()
equal(Array.isArray(cache), true)
equal(typeof cache[0], 'string')
})
})
describe('.readLastCachedLineOf', () => {
it('returns a function', () => {
Expand Down

0 comments on commit e730d38

Please sign in to comment.