Skip to content

Commit

Permalink
Farewell, old friend!
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanblock committed Oct 18, 2023
1 parent daeac37 commit 48c681e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,8 @@
"@architect/eslint-config": "2.1.1",
"@architect/req-res-fixtures": "git+https://github.com/architect/req-res-fixtures.git",
"@architect/sandbox": "^5.8.3",
"@aws-sdk/client-dynamodb": "^3.319.0",
"@aws-sdk/lib-dynamodb": "^3.319.0",
"@smithy/node-http-handler": "^2.1.7",
"@types/aws-lambda": "^8.10.119",
"@types/node": "18",
"aws-sdk": "^2.1364.0",
"cross-env": "~7.0.3",
"eslint": "^8.51.0",
"nyc": "~15.1.0",
Expand Down
7 changes: 6 additions & 1 deletion test/unit/src/tables/factory-test.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
let { join } = require('path')
let test = require('tape')
let factory = require('../../../../src/tables/factory')
let proxyquire = require('proxyquire')
let sandbox = require('@architect/sandbox')
let cwd = process.cwd()
let mock = join(cwd, 'test', 'mock', 'project')

let noop = () => {}
let factory = proxyquire('../../../../src/tables/factory', {
'./legacy': () => ({ db: noop, doc: noop })
})

let services = { tables: { hi: 'there' } }

test('Set up env', async t => {
Expand Down

0 comments on commit 48c681e

Please sign in to comment.