2018-03-28 02:01:31 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @allowJs: true
|
2018-04-24 01:05:37 +02:00
|
|
|
// @target: esnext
|
|
|
|
|
2018-03-28 02:01:31 +02:00
|
|
|
// @Filename: /a.js
|
2018-04-05 21:33:00 +02:00
|
|
|
////const a = require('a'); a;
|
2018-03-28 02:01:31 +02:00
|
|
|
|
|
|
|
verify.codeFix({
|
|
|
|
description: "Convert to ES6 module",
|
2018-04-05 21:33:00 +02:00
|
|
|
newFileContent: "import a from 'a'; a;",
|
2018-03-28 02:01:31 +02:00
|
|
|
});
|