Skip to content

Commit

Permalink
chore(cli): update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
crashmax-dev committed Nov 29, 2023
1 parent 2235c6d commit 7715638
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 4 additions & 4 deletions packages/cli/mock/locales/strings1.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<resources>
<string name="key1">value1</string>
<string name="key2">value2</string>
</resources>
<resources>
<string name="key1">value1</string>
<string name="key2">value2</string>
</resources>
6 changes: 2 additions & 4 deletions packages/cli/src/utils/files.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,10 @@ describe('writeFile', () => {
test('writes a file', async () => {
await writeFile(
'packages/cli/mock/locales/strings1.xml',
`
<resources>
`<resources>
<string name="key1">value1</string>
<string name="key2">value2</string>
</resources>
`
</resources>`
);
});
});

0 comments on commit 7715638

Please sign in to comment.