@augment-vir/test 31.51.0 → 31.51.1
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.
|
@@ -118,7 +118,7 @@ export async function expectScreenshot(testContext, options) {
|
|
|
118
118
|
const screenshotFilePath = getScreenshotPath(testContext, options.screenshotBaseName);
|
|
119
119
|
async function writeNewScreenshot() {
|
|
120
120
|
log.mutate(`Updated screenshot: ${relative(process.cwd(), screenshotFilePath)}`);
|
|
121
|
-
await saveScreenshotBuffer(testContext, currentScreenshotBuffer,
|
|
121
|
+
await saveScreenshotBuffer(testContext, currentScreenshotBuffer, options.screenshotBaseName);
|
|
122
122
|
}
|
|
123
123
|
async function writeExpectationScreenshot(contents, fileName) {
|
|
124
124
|
const filePath = assertWrapTestContext(testContext, TestEnv.Playwright).testInfo.outputPath(addSuffix({ value: fileName, suffix: '.png' }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@augment-vir/test",
|
|
3
|
-
"version": "31.51.
|
|
3
|
+
"version": "31.51.1",
|
|
4
4
|
"description": "A universal testing suite that works with Mocha style test runners _and_ Node.js's built-in test runner.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"test",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"test:web": "virmator test --no-deps web 'src/test-web/**/*.test.ts' 'src/augments/universal-testing-suite/**/*.test.ts'"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@augment-vir/assert": "^31.51.
|
|
48
|
-
"@augment-vir/common": "^31.51.
|
|
47
|
+
"@augment-vir/assert": "^31.51.1",
|
|
48
|
+
"@augment-vir/common": "^31.51.1",
|
|
49
49
|
"@open-wc/testing-helpers": "^3.0.1",
|
|
50
50
|
"@virmator/test": "^14.2.2",
|
|
51
51
|
"type-fest": "^5.2.0"
|