We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a92b2e2 commit 766aacbCopy full SHA for 766aacb
test/cli.spec.js
@@ -223,5 +223,24 @@ describe('cli.js', () => {
223
224
});
225
226
+
227
+ it('should create the both extended library files', done => {
228
+ cli.generateLibraryFile(testCwd, {
229
+ extended: true,
230
+ cssMapping: true,
231
+ cssMappingMin: true
232
+ }, (err, data) => {
233
+ const cssMapping = fs.readFileSync(testCwd + '/renaming_map.js', 'utf8');
234
+ const cssMappingMin = fs.readFileSync(testCwd + '/renaming_map_min.js', 'utf8');
235
236
+ expect(err).to.not.exist;
237
238
+ // TODO read variable and check values
239
+ // expect(cssMapping['jp-block']).to.equal('a');
240
241
+ done();
242
243
+ });
244
245
246
0 commit comments