Skip to content

Commit

Permalink
In a *.js file, add ts suffix for import statement, see phetsims/pere…
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Nov 19, 2024
1 parent ccdc020 commit fe6f8ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/chainsBuildTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
* @author Jonathan Olson <[email protected]>
*/

import execute from '../../perennial-alias/js/common/execute.js';
// TODO: Convert chainsBuildTest.js to TypeScript and get rid of *.ts in the import, see https://github.com/phetsims/perennial/issues/410
import execute from '../../perennial-alias/js/common/execute.ts';
import gruntCommand from '../../perennial-alias/js/common/gruntCommand.js';
import grunt from '../../perennial-alias/js/npm-dependencies/grunt.js';
import qunit from '../../perennial-alias/js/npm-dependencies/qunit.js';
Expand Down
3 changes: 2 additions & 1 deletion test/generationTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
* @author Jonathan Olson <[email protected]>
*/

import execute from '../../perennial-alias/js/common/execute.js';
// TODO: Convert generationTest.js to TypeScript and get rid of *.ts in the import, see https://github.com/phetsims/perennial/issues/410
import execute from '../../perennial-alias/js/common/execute.ts';
import gruntCommand from '../../perennial-alias/js/common/gruntCommand.js';
import qunit from '../../perennial-alias/js/npm-dependencies/qunit.js';

Expand Down

0 comments on commit fe6f8ea

Please sign in to comment.