Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Commit

Permalink
Adding back ky to exportDefaultFunctionWithImports test instead of chalk
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Walter committed May 4, 2019
1 parent 5fc53cd commit 48fb403
Show file tree
Hide file tree
Showing 4 changed files with 561 additions and 3,702 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"@ianwalter/eslint-config": "^1.1.2",
"@ianwalter/renovate-config": "^1.1.0",
"execa": "^1.0.0",
"ky": "^0.10.0",
"np": "^5.0.0",
"postcss": "^7.0.14",
"rollup-plugin-vue": "^5.0.0",
Expand Down
6 changes: 3 additions & 3 deletions tests/fixtures/exportDefaultFunctionWithImports.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import npmShortName from '@ianwalter/npm-short-name'
import chalk from 'chalk'
import message from './exportDefaultLiteral'
import ky from 'ky'
import url from './exportDefaultLiteral'

export default function greeting () {
return chalk.cyan(npmShortName(message))
return ky.get(npmShortName(url))
}
Loading

0 comments on commit 48fb403

Please sign in to comment.