UNPKG

@triviality/core

Version:
13 lines 571 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var ImmutableServiceReferenceList_1 = require("../ImmutableServiceReferenceList"); it('Filter async services', function () { var list = new ImmutableServiceReferenceList_1.ImmutableServiceReferenceList([{ type: 'async', }, { type: 'internal', }]); expect(list.async().toArray()).toEqual([{ type: 'async' }]); expect(list.notASync().toArray()).toEqual([{ type: 'internal' }]); }); //# sourceMappingURL=ImmutableServiceReferenceList.test.js.map