mirror of
https://github.com/wassname/CanvasTextWrapper.git
synced 2026-06-27 23:05:28 +08:00
514 B
514 B
Usage examples
Wildcards
In this example, grunt nodeunit:all or grunt nodeunit will test all files ending with _test.js in the test directory.
// Project configuration.
grunt.initConfig({
nodeunit: {
all: ['test/*_test.js']
}
});
With a slight modification, grunt nodeunit:all will test files matching the same pattern in the test directory and all subdirectories.
// Project configuration.
grunt.initConfig({
nodeunit: {
all: ['test/**/*_test.js']
}
});