Skip to content

Commit

Permalink
chore(dependencies): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Brainshaker95 committed Aug 29, 2023
1 parent 37ad571 commit 6aaaf8a
Show file tree
Hide file tree
Showing 3 changed files with 902 additions and 655 deletions.
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@
"prepublishOnly": "yarn type-check && yarn lint && yarn test"
},
"devDependencies": {
"@types/babel__core": "7.20.0",
"@types/jest": "29.5.0",
"@typescript-eslint/eslint-plugin": "5.57.0",
"@typescript-eslint/parser": "5.57.0",
"canvas": "2.11.0",
"eslint": "8.36.0",
"@types/babel__core": "7.20.1",
"@types/jest": "29.5.4",
"@typescript-eslint/eslint-plugin": "6.5.0",
"@typescript-eslint/parser": "6.5.0",
"canvas": "2.11.2",
"eslint": "8.48.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-import-resolver-typescript": "3.5.3",
"eslint-plugin-import": "2.27.5",
"jest": "29.5.0",
"jest-environment-jsdom": "29.5.0",
"ts-jest": "29.0.5",
"typescript": "5.0.2"
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-import-resolver-typescript": "3.6.0",
"eslint-plugin-import": "2.28.1",
"jest": "29.6.4",
"jest-environment-jsdom": "29.6.4",
"ts-jest": "29.1.1",
"typescript": "5.2.2"
},
"homepage": "https://github.com/Brainshaker95/tm-text",
"repository": {
Expand Down
10 changes: 5 additions & 5 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ const runTestsForSyntax = (suite: Suite, syntax: Syntax): void => {

it('should handle css tokens without end tags correctly', () => {
expect(htmlify('$mLorem', options)).toBe('<span>Lorem</span>');
expect(htmlify('$nLorem', options)).toBe('<span style="display:inline-block;margin-right:-15.540px;transform:scaleX(0.64);transform-origin:0 100%">Lorem</span>');
expect(htmlify('$wLorem', options)).toBe('<span style="display:inline-block;margin-right:23.940px;transform:scaleX(1.57);transform-origin:0 100%">Lorem</span>');
expect(htmlify('$nLorem', options)).toBe('<span style="display:inline-block;margin-right:-15.780px;transform:scaleX(0.64);transform-origin:0 100%">Lorem</span>');
expect(htmlify('$wLorem', options)).toBe('<span style="display:inline-block;margin-right:24.310px;transform:scaleX(1.57);transform-origin:0 100%">Lorem</span>');
expect(htmlify('$mLorem$m ipsum', options)).toBe('<span>Lorem ipsum</span>');
expect(htmlify('$nLorem$n ipsum', options)).toBe('<span style="display:inline-block;margin-right:-31.080px;transform:scaleX(0.64);transform-origin:0 100%">Lorem ipsum</span>');
expect(htmlify('$wLorem$w ipsum', options)).toBe('<span style="display:inline-block;margin-right:47.880px;transform:scaleX(1.57);transform-origin:0 100%">Lorem ipsum</span>');
expect(htmlify('$wLorem $mipsum $ndolor', options)).toBe('<span style="display:inline-block;margin-right:26.220px;transform:scaleX(1.57);transform-origin:0 100%">Lorem </span><span>ipsum </span><span style="display:inline-block;margin-right:-12.210px;transform:scaleX(0.64);transform-origin:0 100%">dolor</span>');
expect(htmlify('$nLorem$n ipsum', options)).toBe('<span style="display:inline-block;margin-right:-31.733px;transform:scaleX(0.64);transform-origin:0 100%">Lorem ipsum</span>');
expect(htmlify('$wLorem$w ipsum', options)).toBe('<span style="display:inline-block;margin-right:48.886px;transform:scaleX(1.57);transform-origin:0 100%">Lorem ipsum</span>');
expect(htmlify('$wLorem $mipsum $ndolor', options)).toBe('<span style="display:inline-block;margin-right:26.590px;transform:scaleX(1.57);transform-origin:0 100%">Lorem </span><span>ipsum </span><span style="display:inline-block;margin-right:-12.496px;transform:scaleX(0.64);transform-origin:0 100%">dolor</span>');
});

it('should handle css tokens with end tags correctly', () => {
Expand Down
Loading

0 comments on commit 6aaaf8a

Please sign in to comment.