Skip to content

Commit 051759f

Browse files
committed
Add public API test
1 parent cc1833b commit 051759f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,15 @@ describe('Public API', () => {
204204

205205
});
206206

207+
describe('disableAssetsLoaders', () => {
208+
209+
it('must return the API object', () => {
210+
const returnedValue = api.disableAssetsLoaders();
211+
expect(returnedValue).to.equal(api);
212+
});
213+
214+
});
215+
207216
describe('cleanupOutputBeforeBuild', () => {
208217

209218
it('must return the API object', () => {

0 commit comments

Comments
 (0)