From a0957ef196f9126debb35af649838548299900a1 Mon Sep 17 00:00:00 2001 From: Steven Yuan Date: Tue, 10 Oct 2023 13:24:34 -0700 Subject: [PATCH] fix(experimentalIdentityAndAuth): fix test script to use `jest` (#1018) --- .changeset/clever-doors-joke.md | 5 +++++ packages/experimental-identity-and-auth/jest.config.js | 5 +++++ packages/experimental-identity-and-auth/package.json | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .changeset/clever-doors-joke.md create mode 100644 packages/experimental-identity-and-auth/jest.config.js diff --git a/.changeset/clever-doors-joke.md b/.changeset/clever-doors-joke.md new file mode 100644 index 00000000000..d79b76fa6ce --- /dev/null +++ b/.changeset/clever-doors-joke.md @@ -0,0 +1,5 @@ +--- +"@smithy/experimental-identity-and-auth": patch +--- + +Fix test script to use `jest`. diff --git a/packages/experimental-identity-and-auth/jest.config.js b/packages/experimental-identity-and-auth/jest.config.js new file mode 100644 index 00000000000..a8d1c2e4991 --- /dev/null +++ b/packages/experimental-identity-and-auth/jest.config.js @@ -0,0 +1,5 @@ +const base = require("../../jest.config.base.js"); + +module.exports = { + ...base, +}; diff --git a/packages/experimental-identity-and-auth/package.json b/packages/experimental-identity-and-auth/package.json index 8eae41f21fc..a357c07e5e3 100644 --- a/packages/experimental-identity-and-auth/package.json +++ b/packages/experimental-identity-and-auth/package.json @@ -11,7 +11,7 @@ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", - "test": "yarn g:tsc -p tsconfig.test.json", + "test": "yarn g:jest --passWithNoTests", "test:integration": "yarn g:jest --config jest.config.integ.js --passWithNoTests" }, "main": "./dist-cjs/index.js",