We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a91445 commit c3e988eCopy full SHA for c3e988e
1 file changed
lib/node_modules/@stdlib/fs/read-json/test/test.js
@@ -10,11 +10,11 @@ var readJSON = require( './../lib' );
10
11
tape( 'main export is a function', function test( t ) {
12
t.ok( true, __filename );
13
- t.equal( typeof readJSON, 'function', 'main export is a function' );
+ t.strictEqual( typeof readJSON, 'function', 'main export is a function' );
14
t.end();
15
});
16
17
-tape( 'attached to the main export is a function to read a file as JSON synchronously', function test( t ) {
18
- t.equal( typeof readJSON.sync, 'function', 'has `sync` method' );
+tape( 'attached to the main export is a function to synchronously read a file as JSON', function test( t ) {
+ t.strictEqual( typeof readJSON.sync, 'function', 'has `sync` method' );
19
20
0 commit comments