Skip to content

Commit

Permalink
Merge pull request #2617 from Shopify/build-test-to-ts
Browse files Browse the repository at this point in the history
Converted `/tests/build.test.ts` typescript
  • Loading branch information
AndrewMusgrave authored Jan 17, 2020
2 parents 173859a + 49b4e6d commit 83698cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@

### Code quality

- Converted `/tests/build.test.js` to TypeScript ([#2617](https://github.com/Shopify/polaris-react/pull/2617))

### Deprecations
8 changes: 4 additions & 4 deletions tests/build.test.js → tests/build.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const execSync = require('child_process').execSync;
const fs = require('fs-extra');
const glob = require('glob');
const packageJSON = require('../package.json');
import {execSync} from 'child_process';
import fs from 'fs-extra';
import glob from 'glob';
import packageJSON from '../package.json';

describe('build', () => {
beforeAll(() => {
Expand Down

0 comments on commit 83698cd

Please sign in to comment.