silikonhz.blogg.se

Local dynamodb testing
Local dynamodb testing







It provides a fast in-memory solution without overheads of Java / Docker dependence, but with limited functionality, e.g.

local dynamodb testing

Replacing jest-dynamodb by jest-dynaliteĭynalite is a lightweight dynamodb local replacement. Jest-DynamoDB is built on top of the AWS DynamoDB-local which uses sqlite4java () – a repo is no longer maintained with last updated time on 26 th May 2019, before Apple released the Silicon platform. The error message libsqlite4java-osx.dylib' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e' indicated the issue – sqlite4java does not provide the arm64e architecture. WARNING: cannot open DB: : cannot load library: : /private/var/folders/q2/smpmq5gs1vlclkfn3s971b800000gp/T/dynamodb-local/DynamoDBLocal_lib/libsqlite4java-osx.dylib: dlopen(/private/var/folders/q2/smpmq5gs1vlclkfn3s971b800000gp/T/dynamodb-local/DynamoDBLocal_lib/libsqlite4java-osx.dylib, 0x0001): tried: '/private/var/folders/q2/smpmq5gs1vlclkfn3s971b800000gp/T/dynamodb-local/DynamoDBLocal_lib/libsqlite4java-osx.dylib' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e')), '/usr/lib/libsqlite4java-osx.dylib' (no such file)ĩ:26:36 PM log However, I faced some unit tests failing in NodeJS code repositories I am working on, while they can pass the tests in all other platforms – including the macOS Intel platform.Īfter digging into the error message, one of the reasons is related to the Jest-Dynamodb.

local dynamodb testing local dynamodb testing

I don’t experience any issue with macOS applications, most of the applications I use provided the Silicon version already.

#LOCAL DYNAMODB TESTING PRO#

I have received a new 14″ Macbook Pro with M1 Pro CPU from work.







Local dynamodb testing