@@ -179,7 +179,7 @@ describe(`ember-modules-api-polyfill-reexport`, () => {
179179
180180// Ensure unknown exports are not removed
181181describe ( `unknown imports from known module` , ( ) => {
182- it ( `allows blacklisting import paths` , ( ) => {
182+ it ( `allows disallowing import paths` , ( ) => {
183183 let input = `import { derp } from '@ember/object/computed';` ;
184184
185185 expect ( ( ) => {
@@ -210,22 +210,20 @@ export { capitalize };`
210210} ) ;
211211
212212describe ( 'options' , ( ) => {
213- describe ( 'blacklist ' , ( ) => {
214- it ( `allows blacklisting import paths` , ( ) => {
213+ describe ( 'ignore ' , ( ) => {
214+ it ( `allows ignoring import paths` , ( ) => {
215215 let input = `import { assert } from '@ember/debug';` ;
216- let actual = transform ( input , [
217- [ Plugin , { blacklist : [ '@ember/debug' ] } ] ,
218- ] ) ;
216+ let actual = transform ( input , [ [ Plugin , { ignore : [ '@ember/debug' ] } ] ] ) ;
219217
220218 expect ( actual ) . toEqual ( input ) ;
221219 } ) ;
222220
223- it ( `allows blacklisting specific named imports` , ( ) => {
221+ it ( `allows ignoring specific named imports` , ( ) => {
224222 let input = `import { assert, inspect } from '@ember/debug';var _x = inspect` ;
225223 let actual = transform ( input , [
226224 [
227225 Plugin ,
228- { blacklist : { '@ember/debug' : [ 'assert' , 'warn' , 'deprecate' ] } } ,
226+ { ignore : { '@ember/debug' : [ 'assert' , 'warn' , 'deprecate' ] } } ,
229227 ] ,
230228 ] ) ;
231229
@@ -234,9 +232,9 @@ describe('options', () => {
234232 ) ;
235233 } ) ;
236234
237- it ( 'does not error when a blacklist is not present' , ( ) => {
235+ it ( 'does not error when ignore is not present' , ( ) => {
238236 let input = `import { assert, inspect } from '@ember/debug';var _x = assert; var _y = inspect;` ;
239- let actual = transform ( input , [ [ Plugin , { blacklist : { } } ] ] ) ;
237+ let actual = transform ( input , [ [ Plugin , { ignore : { } } ] ] ) ;
240238
241239 expect ( actual ) . toEqual ( `var _x = Ember.assert;var _y = Ember.inspect;` ) ;
242240 } ) ;
0 commit comments