We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0083ff8 commit a5136b8Copy full SHA for a5136b8
1 file changed
src/test/any/10.00.plugin.spec.js
@@ -0,0 +1,26 @@
1
+/**
2
+ * © 2021, slashlib.org.
3
+ */
4
+const expect = require( "expect.js" );
5
+
6
+( async function() {
7
+ const constants = require( "./00.00.constants" );
8
+ const env = await constants.env;
9
10
+ describe( "10.00.plugin.spec.js - Testing grunt plugin interface 'tasks/tasks.js'", () => {
11
+ try {
12
+ const plugin = require( "../../tasks/tasks" );
13
14
+ describe( "Testing exports of module 'tasks/tasks'", () => {
15
+ it( "'plugin' should exist", () => {
16
+ expect( plugin ).not.to.be( undefined );
17
+ expect( plugin ).not.to.be( null );
18
+ expect( plugin ).to.be.a( "function" );
19
+ });
20
+ it( "'plugin' should register", () => {
21
+ expect(() => { plugin( env.grunt ) }).not.to.throwException();
22
23
24
+ } catch( error ) { console.log( error ); }
25
26
+})();
0 commit comments