Skip to content

Commit de35fc6

Browse files
committed
apply suggestion from review
1 parent 36be687 commit de35fc6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

packages/e2e/tests/app-deploy.spec.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
/* eslint-disable no-restricted-imports */
21
import {appTestFixture as test, createApp, deployApp, versionsList, configLink} from '../setup/app.js'
32
import {teardownAll} from '../setup/teardown.js'
43
import {TEST_TIMEOUT} from '../setup/constants.js'
54
import {requireEnv} from '../setup/env.js'
65
import {expect} from '@playwright/test'
76
import * as fs from 'fs'
7+
// eslint-disable-next-line no-restricted-imports
88
import * as path from 'path'
99

1010
/**
@@ -106,7 +106,9 @@ test.describe('App deploy', () => {
106106
})
107107
const linkOutput = linkResult.stdout + linkResult.stderr
108108
expect(linkResult.exitCode, `Step 4 - config link failed:\n${linkOutput}`).toBe(0)
109-
expect(linkOutput, 'Step 4 - missing "is now linked to"').toContain('is now linked to')
109+
expect(linkOutput, `Step 4 - missing "is now linked to \\"${secondaryAppName}\\""`).toContain(
110+
`is now linked to "${secondaryAppName}"`,
111+
)
110112
const secondaryTomlPath = path.join(appDir, `shopify.app.${secondaryConfig}.toml`)
111113
expect(
112114
fs.existsSync(secondaryTomlPath),

0 commit comments

Comments
 (0)