diff --git a/UNRELEASED.md b/UNRELEASED.md index f50d13b618d..023cfe018af 100644 --- a/UNRELEASED.md +++ b/UNRELEASED.md @@ -14,4 +14,6 @@ ### Code quality +- Converted `/tests/build.test.js` to TypeScript ([#2617](https://github.com/Shopify/polaris-react/pull/2617)) + ### Deprecations diff --git a/tests/build.test.js b/tests/build.test.ts similarity index 96% rename from tests/build.test.js rename to tests/build.test.ts index 7f71222ae5b..b0d10b23d33 100644 --- a/tests/build.test.js +++ b/tests/build.test.ts @@ -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(() => {