Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
thoov committed Sep 28, 2021
1 parent fb9f9d3 commit 4e69415
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
needs: ["preflight"]
name: ${{ matrix.name }}
runs-on: '${{ matrix.os }}-latest'
timeout-minutes: 25
timeout-minutes: 15

strategy:
fail-fast: false
Expand All @@ -64,7 +64,7 @@ jobs:
${{ runner.os }}-yarn-
- run: yarn --frozen-lockfile
- name: Start SSH session
if: ${{ matrix.name == 'release-stage-1 windows' }}
if: ${{ matrix.name == 'release-stage-1 windows2' }}
uses: luchihoratiu/debug-via-ssh@main
with:
NGROK_AUTH_TOKEN: 1yjqnLcQ8tWYadYUsErSudlmPX9_5THmCh681DrzBpJxSUW4u
Expand Down
12 changes: 3 additions & 9 deletions tests/scenarios/stage1-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,22 +83,16 @@ appReleaseScenario
let fileContents = fs.readFileSync(
join(workspaceDir, 'node_modules/my-addon/templates/components/module-name.hbs')
);
console.log(
`<div class={{embroider-sample-transforms-module "${join(
'my-addon',
'templates',
'components',
'module-name.hbs'
)}"}}>hello world</div>`
);
let searchRegExp = /\\/gi;
let replaceWith = '\\\\';
assert.ok(
fileContents.includes(
`<div class={{embroider-sample-transforms-module "${join(
'my-addon',
'templates',
'components',
'module-name.hbs'
)}"}}>hello world</div>`
).replace(searchRegExp, replaceWith)}"}}>hello world</div>`
),
'template is still hbs and module name transforms have run'
);
Expand Down

0 comments on commit 4e69415

Please sign in to comment.