@byaga/cdk-patterns 0.9.1 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jest.config.js +16 -0
- package/lib/DeployStack.d.ts +1 -0
- package/lib/DeployStack.js +6 -2
- package/lib/SsmParameter.d.ts +1 -2
- package/lib/methods/apply-honeycomb-to-lambda.js +4 -3
- package/lib/methods/apply-honeycomb-to-lambda.spec.d.ts +1 -0
- package/lib/methods/apply-honeycomb-to-lambda.spec.js +61 -0
- package/lib/methods/build-node-source.js +1 -1
- package/package.json +8 -2
- package/test-results/html/index.html +1 -0
- package/test-results/html/jest-html-reporters-attach/index/index.js +3 -0
- package/test-results/html/jest-html-reporters-attach/index/result.js +1 -0
- package/test-results/junit/junit.xml +13 -0
- package/tsconfig.json +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
window.jest_html_reporters_callback__({"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":1,"numPassedTests":4,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":4,"startTime":1704575386131,"success":false,"testResults":[{"numFailingTests":0,"numPassingTests":4,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1704575407504,"runtime":20849,"slow":true,"start":1704575386655},"testFilePath":"D:\\Documents\\VeryFineHat\\byaga\\cdk-patterns\\src\\methods\\apply-honeycomb-to-lambda.spec.ts","failureMessage":null,"testResults":[{"ancestorTitles":[],"duration":19,"failureMessages":[],"fullName":"should add honeycomb layer to function props","status":"passed","title":"should add honeycomb layer to function props"},{"ancestorTitles":[],"duration":10,"failureMessages":[],"fullName":"should add honeycomb environment variables to function props","status":"passed","title":"should add honeycomb environment variables to function props"},{"ancestorTitles":[],"duration":7,"failureMessages":[],"fullName":"should not overwrite existing layers in function props","status":"passed","title":"should not overwrite existing layers in function props"},{"ancestorTitles":[],"duration":9,"failureMessages":[],"fullName":"should not overwrite existing environment variables in function props","status":"passed","title":"should not overwrite existing environment variables in function props"}]}],"config":{"bail":0,"changedFilesWithAncestor":false,"ci":false,"collectCoverage":false,"collectCoverageFrom":[],"coverageDirectory":"D:\\Documents\\VeryFineHat\\byaga\\cdk-patterns\\coverage","coverageProvider":"babel","coverageReporters":["json","text","lcov","clover"],"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"expand":false,"findRelatedTests":false,"forceExit":false,"json":false,"lastCommit":false,"listTests":false,"logHeapUsage":false,"maxConcurrency":5,"maxWorkers":7,"noStackTrace":false,"nonFlagArgs":[],"notify":false,"notifyMode":"failure-change","onlyChanged":false,"onlyFailures":false,"openHandlesTimeout":1000,"passWithNoTests":false,"projects":[],"reporters":[["default",{}],["D:\\Documents\\VeryFineHat\\byaga\\cdk-patterns\\node_modules\\jest-junit\\index.js",{"outputDirectory":"./test-results/junit","outputName":"junit.xml"}],["D:\\Documents\\VeryFineHat\\byaga\\cdk-patterns\\node_modules\\jest-html-reporters\\index.js",{"publicPath":"./test-results/html","filename":"index.html","expand":true}]],"rootDir":"D:\\Documents\\VeryFineHat\\byaga\\cdk-patterns","runTestsByPath":false,"seed":1160642783,"skipFilter":false,"snapshotFormat":{"escapeString":false,"printBasicPrototype":false},"testFailureExitCode":1,"testPathPattern":"","testSequencer":"D:\\Documents\\VeryFineHat\\byaga\\cdk-patterns\\node_modules\\@jest\\test-sequencer\\build\\index.js","updateSnapshot":"new","useStderr":false,"verbose":true,"watch":false,"watchAll":false,"watchman":true,"workerThreads":false},"endTime":1704575407562,"_reporterOptions":{"publicPath":"./test-results/html","filename":"index.html","expand":true,"pageTitle":"","hideIcon":false,"testCommand":"","openReport":false,"failureMessageOnly":0,"enableMergeData":false,"dataMergeLevel":1,"inlineSource":false,"urlForTestFiles":"","darkTheme":false,"includeConsoleLog":false,"stripSkippedTest":false},"logInfoMapping":{},"attachInfos":{}})
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuites name="jest tests" tests="4" failures="0" errors="0" time="21.416">
|
3
|
+
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2024-01-06T21:09:46" time="20.849" tests="4">
|
4
|
+
<testcase classname=" should add honeycomb layer to function props" name=" should add honeycomb layer to function props" time="0.019">
|
5
|
+
</testcase>
|
6
|
+
<testcase classname=" should add honeycomb environment variables to function props" name=" should add honeycomb environment variables to function props" time="0.01">
|
7
|
+
</testcase>
|
8
|
+
<testcase classname=" should not overwrite existing layers in function props" name=" should not overwrite existing layers in function props" time="0.007">
|
9
|
+
</testcase>
|
10
|
+
<testcase classname=" should not overwrite existing environment variables in function props" name=" should not overwrite existing environment variables in function props" time="0.009">
|
11
|
+
</testcase>
|
12
|
+
</testsuite>
|
13
|
+
</testsuites>
|
package/tsconfig.json
CHANGED