Search is not available for this dataset
id stringlengths 1 8 | text stringlengths 72 9.81M | addition_count int64 0 10k | commit_subject stringlengths 0 3.7k | deletion_count int64 0 8.43k | file_extension stringlengths 0 32 | lang stringlengths 1 94 | license stringclasses 10
values | repo_name stringlengths 9 59 |
|---|---|---|---|---|---|---|---|---|
400 | <NME> shaclsquare.shacl.ttl
<BEF> ADDFILE
<MSG> Clean up, added SHACLSquare example
<DFF> @@ -0,0 +1,176 @@
+# baseURI: http://topbraid.org/examples/shaclsquare
+# imports: http://www.w3.org/ns/shacl
+
+# An example SHACL model about rectangles and squares, demonstrating all major
+# features of SHACL with simple exam... | 176 | Clean up, added SHACLSquare example | 0 | .ttl | shacl | apache-2.0 | TopQuadrant/shacl |
401 | <NME> shaclsquare.shacl.ttl
<BEF> ADDFILE
<MSG> Clean up, added SHACLSquare example
<DFF> @@ -0,0 +1,176 @@
+# baseURI: http://topbraid.org/examples/shaclsquare
+# imports: http://www.w3.org/ns/shacl
+
+# An example SHACL model about rectangles and squares, demonstrating all major
+# features of SHACL with simple exam... | 176 | Clean up, added SHACLSquare example | 0 | .ttl | shacl | apache-2.0 | TopQuadrant/shacl |
402 | <NME> manifest.ttl
<BEF> ADDFILE
<MSG> Tests converted to new format, all green
<DFF> @@ -0,0 +1,47 @@
+@prefix dc: <http://purl.org/dc/elements/1.1/> .
+@prefix ex: <http://example.org/> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifes... | 47 | Tests converted to new format, all green | 0 | .ttl | ttl | apache-2.0 | TopQuadrant/shacl |
403 | <NME> manifest.ttl
<BEF> ADDFILE
<MSG> Tests converted to new format, all green
<DFF> @@ -0,0 +1,47 @@
+@prefix dc: <http://purl.org/dc/elements/1.1/> .
+@prefix ex: <http://example.org/> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifes... | 47 | Tests converted to new format, all green | 0 | .ttl | ttl | apache-2.0 | TopQuadrant/shacl |
404 | <NME> ValidationEngine.java
<BEF> /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 1 | Updated topbraid SHACL library to remove deprecated Apache Jena calls and updated version of Jena to 4.3.1 | 1 | .java | java | apache-2.0 | TopQuadrant/shacl |
405 | <NME> ValidationEngine.java
<BEF> /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 1 | Updated topbraid SHACL library to remove deprecated Apache Jena calls and updated version of Jena to 4.3.1 | 1 | .java | java | apache-2.0 | TopQuadrant/shacl |
406 | <NME> tosh.ttl <BEF> # baseURI: http://topbraid.org/tosh # imports: http://datashapes.org/dash # prefix: tosh @prefix dash: <http://datashapes.org/dash#> . @prefix graphql: <http://datashapes.org/graphql#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @pr... | 263 | Misc minor updates, including a bug fix with GRAPH access in sh:values rules | 131 | .ttl | ttl | apache-2.0 | TopQuadrant/shacl |
407 | <NME> tosh.ttl <BEF> # baseURI: http://topbraid.org/tosh # imports: http://datashapes.org/dash # prefix: tosh @prefix dash: <http://datashapes.org/dash#> . @prefix graphql: <http://datashapes.org/graphql#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @pr... | 263 | Misc minor updates, including a bug fix with GRAPH access in sh:values rules | 131 | .ttl | ttl | apache-2.0 | TopQuadrant/shacl |
408 | <NME> TestDASHTestCases.java
<BEF> /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 2 | Alignment with latest TopBraid code, including misc bug fixes, changes to system-triples and .js files | 2 | .java | java | apache-2.0 | TopQuadrant/shacl |
409 | <NME> TestDASHTestCases.java
<BEF> /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 2 | Alignment with latest TopBraid code, including misc bug fixes, changes to system-triples and .js files | 2 | .java | java | apache-2.0 | TopQuadrant/shacl |
410 | <NME> ValidationEngine.java
<BEF> /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 1 | #95: Added prefixes from shapes graph | 0 | .java | java | apache-2.0 | TopQuadrant/shacl |
411 | <NME> ValidationEngine.java
<BEF> /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 1 | #95: Added prefixes from shapes graph | 0 | .java | java | apache-2.0 | TopQuadrant/shacl |
412 | <NME> TOSH.java
<BEF> /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 2 | Alignment with current TQ code base | 0 | .java | java | apache-2.0 | TopQuadrant/shacl |
413 | <NME> TOSH.java
<BEF> /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 2 | Alignment with current TQ code base | 0 | .java | java | apache-2.0 | TopQuadrant/shacl |
414 | <NME> SHACLFunctionsCache.java
<BEF> /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 1 | Merge pull request #131 from linked-art/master | 2 | .java | java | apache-2.0 | TopQuadrant/shacl |
415 | <NME> SHACLFunctionsCache.java
<BEF> /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 1 | Merge pull request #131 from linked-art/master | 2 | .java | java | apache-2.0 | TopQuadrant/shacl |
416 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 1 | Merge pull request #178 from abetomo/update_eslint_rule | 1 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
417 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 1 | Merge pull request #178 from abetomo/update_eslint_rule | 1 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
418 | <NME> README.md
<BEF> # aws-sdk-mock
AWSome mocks for Javascript aws-sdk services.
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[;
const t... | 2 | Merge pull request #35 from H34D/master | 1 | .js | js | apache-2.0 | dwyl/aws-sdk-mock |
431 | <NME> index.js
<BEF> 'use strict';
/**
* Helpers to mock the AWS SDK Services using sinon.js under the hood
* Export two functions:
* - mock
* - restore
*
* Mocking is done in two steps:
* - mock of the constructor for the service on AWS
* - mock of the method on the service
**/
const sinon = require('sinon');
const t... | 2 | Merge pull request #35 from H34D/master | 1 | .js | js | apache-2.0 | dwyl/aws-sdk-mock |
432 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- "4"
- "6"
- "8"
- "10"
<MSG> remove support for Node.js v.4 as no longer supported by aws-sdk see: https://github.com/dwyl/aws-sdk-mock/pull/162#issuecomment-444165373
<DFF> @@ -1,6 +1,6 @@
language: node_js
node_js:
- - "4"
+ - "node"
- "6"
- "8"... | 1 | remove support for Node.js v.4 as no longer supported by aws-sdk see: https://github.com/dwyl/aws-sdk-mock/pull/162#issuecomment-444165373 | 1 | .yml | travis | apache-2.0 | dwyl/aws-sdk-mock |
433 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- "4"
- "6"
- "8"
- "10"
<MSG> remove support for Node.js v.4 as no longer supported by aws-sdk see: https://github.com/dwyl/aws-sdk-mock/pull/162#issuecomment-444165373
<DFF> @@ -1,6 +1,6 @@
language: node_js
node_js:
- - "4"
+ - "node"
- "6"
- "8"... | 1 | remove support for Node.js v.4 as no longer supported by aws-sdk see: https://github.com/dwyl/aws-sdk-mock/pull/162#issuecomment-444165373 | 1 | .yml | travis | apache-2.0 | dwyl/aws-sdk-mock |
434 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 1 | Merge pull request #276 from abetomo/upgrade_dependencies | 1 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
435 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 1 | Merge pull request #276 from abetomo/upgrade_dependencies | 1 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
436 | <NME> README.md
<BEF> # aws-sdk-mock
AWSome mocks for Javascript aws-sdk services.
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[;
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 38 | Merge pull request #78 from abetomo/fix_add_semicolon | 38 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
439 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 38 | Merge pull request #78 from abetomo/fix_add_semicolon | 38 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
440 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 22 | When method is restored, it should be restored on all clients | 22 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
441 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 22 | When method is restored, it should be restored on all clients | 22 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
442 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 16 | Merge pull request #10 from dwyl/fixed-multiple-functions-bug | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
443 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 16 | Merge pull request #10 from dwyl/fixed-multiple-functions-bug | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
444 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 78 | Merge pull request #17 from mkjois/master | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
445 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 78 | Merge pull request #17 from mkjois/master | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
446 | <NME> index.test-d.ts
<BEF> import * as AWS from 'aws-sdk';
import { AWSError } from 'aws-sdk';
import { ListObjectsV2Request } from 'aws-sdk/clients/s3';
import { expectError, expectType } from 'tsd';
import { mock, remock, restore, setSDK, setSDKInstance } from '../index';
const awsError: AWSError = {
name: 'AWS... | 23 | #259: support nested client names for remock and restore methods | 0 | .ts | test-d | apache-2.0 | dwyl/aws-sdk-mock |
447 | <NME> index.test-d.ts
<BEF> import * as AWS from 'aws-sdk';
import { AWSError } from 'aws-sdk';
import { ListObjectsV2Request } from 'aws-sdk/clients/s3';
import { expectError, expectType } from 'tsd';
import { mock, remock, restore, setSDK, setSDKInstance } from '../index';
const awsError: AWSError = {
name: 'AWS... | 23 | #259: support nested client names for remock and restore methods | 0 | .ts | test-d | apache-2.0 | dwyl/aws-sdk-mock |
448 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- "12"
- "6"
- "8"
- "10"
before_install:
- pip install --user codecov
after_success:
<MSG> Merge pull request #185 from abetomo/add_nodejs12_to_ci_setting
Add Node.js 12 to CI setting
<DFF> @@ -4,6 +4,7 @@ node_js:
- "6"
- "8"
- "10"
+ - "12"
be... | 1 | Merge pull request #185 from abetomo/add_nodejs12_to_ci_setting | 0 | .yml | travis | apache-2.0 | dwyl/aws-sdk-mock |
449 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- "12"
- "6"
- "8"
- "10"
before_install:
- pip install --user codecov
after_success:
<MSG> Merge pull request #185 from abetomo/add_nodejs12_to_ci_setting
Add Node.js 12 to CI setting
<DFF> @@ -4,6 +4,7 @@ node_js:
- "6"
- "8"
- "10"
+ - "12"
be... | 1 | Merge pull request #185 from abetomo/add_nodejs12_to_ci_setting | 0 | .yml | travis | apache-2.0 | dwyl/aws-sdk-mock |
450 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 9 | fix(paramValidation): skip param validation when method has no input rules | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
451 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 9 | fix(paramValidation): skip param validation when method has no input rules | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
452 | <NME> README.md
<BEF> # aws-sdk-mock
AWSome mocks for Javascript aws-sdk services.
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[;
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 16 | add update flag | 3 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
455 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 16 | add update flag | 3 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
456 | <NME> README.md
<BEF> # aws-sdk-mock
AWSome mocks for Javascript aws-sdk services.
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[;
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 44 | Merge pull request #24 from jcready/patch-1 | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
463 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 44 | Merge pull request #24 from jcready/patch-1 | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
464 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 7 | Restoring will not throw errors anymore | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
465 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 7 | Restoring will not throw errors anymore | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
466 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 0 | Removes unecessary test | 9 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
467 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 0 | Removes unecessary test | 9 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
468 | <NME> README.md
<BEF> # aws-sdk-mock
AWSome mocks for Javascript aws-sdk services.
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[;
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 1 | fix: resolve `DeprecationWarning` | 1 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
471 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 1 | fix: resolve `DeprecationWarning` | 1 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
472 | <NME> index.js
<BEF> 'use strict';
/**
* Helpers to mock the AWS SDK Services using sinon.js under the hood
* Export two functions:
* - mock
* - restore
*
* Mocking is done in two steps:
* - mock of the constructor for the service on AWS
* - mock of the method on the service
**/
const sinon = require('sinon');
const t... | 2 | fix: tidy up Promise code | 2 | .js | js | apache-2.0 | dwyl/aws-sdk-mock |
473 | <NME> index.js
<BEF> 'use strict';
/**
* Helpers to mock the AWS SDK Services using sinon.js under the hood
* Export two functions:
* - mock
* - restore
*
* Mocking is done in two steps:
* - mock of the constructor for the service on AWS
* - mock of the method on the service
**/
const sinon = require('sinon');
const t... | 2 | fix: tidy up Promise code | 2 | .js | js | apache-2.0 | dwyl/aws-sdk-mock |
474 | <NME> index.test.js
<BEF> var test = require('tape');
var awsMock = require('../index.js');
var AWS = require('aws-sdk');
var isNodeStream = require('is-node-stream');
var concatStream = require('concat-stream');
AWS.config.paramValidation = false;
test('AWS.mock function should mock AWS service and method o... | 22 | support passing a Readable stream as the stub for S3.GetObject | 30 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
475 | <NME> index.test.js
<BEF> var test = require('tape');
var awsMock = require('../index.js');
var AWS = require('aws-sdk');
var isNodeStream = require('is-node-stream');
var concatStream = require('concat-stream');
AWS.config.paramValidation = false;
test('AWS.mock function should mock AWS service and method o... | 22 | support passing a Readable stream as the stub for S3.GetObject | 30 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
476 | <NME> README.md
<BEF> # aws-sdk-mock
AWSome mocks for Javascript aws-sdk services.
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[](https://travis-ci.org/dwyl/aws-sdk-mock)
[;
var AWS = require('aws-sdk');
var isNodeStream = require('is-node-stream');
var streamToArray = require('stream-to-array');
test('AWS.mock function should mock AWS service and method on the service', function(t){
t.test('mock function... | 3 | test: use concat-stream instead of stream-to-array, support older node | 3 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
479 | <NME> index.test.js
<BEF> 'use strict';
var awsMock = require('../index.js');
var AWS = require('aws-sdk');
var isNodeStream = require('is-node-stream');
var streamToArray = require('stream-to-array');
test('AWS.mock function should mock AWS service and method on the service', function(t){
t.test('mock function... | 3 | test: use concat-stream instead of stream-to-array, support older node | 3 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
480 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 15 | Merge pull request #63 from juristat-oss/unhandled-rejections | 4 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
481 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 15 | Merge pull request #63 from juristat-oss/unhandled-rejections | 4 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
482 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 12 | Merge pull request #13 from boyarskiy/fix | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
483 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 12 | Merge pull request #13 from boyarskiy/fix | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
484 | <NME> index.test.js
<BEF> 'use strict';
var awsMock = require('../index.js');
var AWS = require('aws-sdk');
var isNodeStream = require('is-node-stream');
test('AWS.mock function should mock AWS service and method on the service', function(t){
t.test('mock function replaces method with a function that returns re... | 28 | test: cover createReadStream and refactored Promise code | 1 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
485 | <NME> index.test.js
<BEF> 'use strict';
var awsMock = require('../index.js');
var AWS = require('aws-sdk');
var isNodeStream = require('is-node-stream');
test('AWS.mock function should mock AWS service and method on the service', function(t){
t.test('mock function replaces method with a function that returns re... | 28 | test: cover createReadStream and refactored Promise code | 1 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
486 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 7 | allow remocking with new values | 7 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
487 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 7 | allow remocking with new values | 7 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
488 | <NME> index.test.js
<BEF> var test = require('tape');
var awsMock = require('../index.js');
var AWS = require('aws-sdk');
test('AWS.mock function should mock AWS service and method on the service', function(t){
t.test('mock function replaces method with a function that returns replace string', function(st){... | 11 | Add minimal createReadStream support | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
489 | <NME> index.test.js
<BEF> var test = require('tape');
var awsMock = require('../index.js');
var AWS = require('aws-sdk');
test('AWS.mock function should mock AWS service and method on the service', function(t){
t.test('mock function replaces method with a function that returns replace string', function(st){... | 11 | Add minimal createReadStream support | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
490 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 2 | improve test coverage to 100% | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
491 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 2 | improve test coverage to 100% | 0 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
492 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 4 | Fixed lint issues | 4 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
493 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 4 | Fixed lint issues | 4 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
494 | <NME> index.js
<BEF> 'use strict';
/**
* Helpers to mock the AWS SDK Services using sinon.js under the hood
* Export two functions:
* - mock
* - restore
*
* Mocking is done in two steps:
* - mock of the constructor for the service on AWS
* - mock of the method on the service
**/
const sinon = require('sinon');
const t... | 4 | issue#97 - Stream depending on params for S3.getObject | 1 | .js | js | apache-2.0 | dwyl/aws-sdk-mock |
495 | <NME> index.js
<BEF> 'use strict';
/**
* Helpers to mock the AWS SDK Services using sinon.js under the hood
* Export two functions:
* - mock
* - restore
*
* Mocking is done in two steps:
* - mock of the constructor for the service on AWS
* - mock of the method on the service
**/
const sinon = require('sinon');
const t... | 4 | issue#97 - Stream depending on params for S3.getObject | 1 | .js | js | apache-2.0 | dwyl/aws-sdk-mock |
496 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 21 | When method is restored, it should be restored on all clients | 5 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
497 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 21 | When method is restored, it should be restored on all clients | 5 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
498 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 16 | fix: unhandled promise rejections when using callbacks | 3 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |
499 | <NME> index.test.js
<BEF> 'use strict';
const tap = require('tap');
const test = tap.test;
const awsMock = require('../index.js');
const AWS = require('aws-sdk');
const isNodeStream = require('is-node-stream');
const concatStream = require('concat-stream');
const Readable = require('stream').Readable;
const jest = req... | 16 | fix: unhandled promise rejections when using callbacks | 3 | .js | test | apache-2.0 | dwyl/aws-sdk-mock |